ContextMenuContainer Class |
Namespace: CMS.ExtendedControls
public class ContextMenuContainer : CMSWebControl
The ContextMenuContainer type exposes the following members.
Name | Description | |
---|---|---|
ContextMenuContainer |
Name | Description | |
---|---|---|
EnsureMenuControl |
Ensures the menu control.
| |
GetEndTag |
Gets the div end tag for context menu container.
| |
GetEndTag(Boolean) |
Gets the end tag for context menu container.
| |
GetEndTag(HtmlTextWriterTag) |
Gets the end tag for context menu container.
| |
GetStartDisabledTag |
Gets the start tag for context menu container in disabled state
| |
GetStartTag(String, String) |
Gets the start tag for context menu container.
| |
GetStartTag(String, String, Boolean, Boolean) |
Gets the start tag for context menu container.
| |
GetStartTag(String, String, Boolean, HtmlTextWriterTag, String, String) |
Gets the start tag for context menu container.
| |
GetStartTag(String, String, Boolean, HtmlTextWriterTag, String, String, String, Boolean, String) |
Gets the start tag for context menu container.
| |
InitializeMenuControl |
Initializes menu control properties
| |
OnInit |
Control Init event.
(Overrides CMSWebControlOnInit(EventArgs).) | |
OnLoad |
Control Load event.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
Control PreRender event.
(Overrides ControlOnPreRender(EventArgs).) | |
ReloadMenuData |
Reload menu data.
| |
Render |
Control Render event.
(Overrides WebControlRender(HtmlTextWriter).) | |
RenderBeginTag |
Renders the begin tag of the control
(Overrides WebControlRenderBeginTag(HtmlTextWriter).) | |
RenderEndTag |
Renders the end tag of the control
(Overrides WebControlRenderEndTag(HtmlTextWriter).) | |
RenderStartTag |
Renders the start tag for the menu container.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mContextMenuCssClass |
Context menu CSS class.
| |
mCssStyle |
CSS style.
| |
mHorizontalPosition |
Horizontal position.
| |
mCheckRelative |
If true, relative ancestor div is checked
| |
mMenuControl |
Menu control.
| |
mMenuID |
Menu ID.
| |
mMouseButton |
Mouse button.
| |
mParameter |
Menu parameter.
| |
mRenderAsTag |
Default render tag.
| |
mResourcePrefix |
Prefix for the resource strings which will be used for the strings of the context menu.
| |
mStopProcessing |
Indicates if the control should perform the operations.
| |
mVerticalPosition |
Vertical position.
|
Name | Description | |
---|---|---|
ActiveItemCssClass |
CSS class of highlighted element when context menu is opened.
| |
ActiveItemInactiveCssClass |
CSS class of highlighted element when context menu is closed.
| |
ContextMenuCssClass |
Context menu CSS class.
| |
ContextMenuParent |
Control which is the parent for the context menu.
| |
CssStyle |
Container CSS style.
| |
EnableMouseClick |
Enable mouse click.
| |
GetContextMethod |
Name of the javascript method which provides the element context to the menu
| |
HorizontalPosition |
Horizontal position.
| |
CheckRelative |
If true, relative ancestor div is checked
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
MenuControl |
Menu control.
| |
MenuControlPath |
Menu control.
| |
MenuID |
Menu ID.
| |
MenuParameter |
Parameter for the menu control.
| |
MouseButton |
Mouse button.
| |
OffsetX |
Offset X of the menu.
| |
OffsetY |
Offset Y of the menu.
| |
Parameter |
Menu parameter.
| |
ParentElementClientID |
Identifier of parent element under which the context menu lies.
This parameter is optional.
| |
RenderAsTag |
Specifies how the container should be rendered (as which tag).
| |
ResourcePrefix |
Prefix for the resource strings which will be used for the strings of the context menu.
Default is "general".
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
StopProcessing |
Indicates if the control should perform the operations.
| |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) | |
VerticalPosition |
Vertical position.
|