ContextMenuContainer Class |
Namespace: CMS.Base.Web.UI
public class ContextMenuContainer : CMSWebControl
The ContextMenuContainer type exposes the following members.
Name | Description | |
---|---|---|
ContextMenuContainer |
Name | Description | |
---|---|---|
mCheckRelative |
If true, relative ancestor div is checked
| |
mContextMenuCssClass |
Context menu CSS class.
| |
mCssStyle |
CSS style.
| |
mHorizontalPosition |
Horizontal position.
| |
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.
| |
CheckRelative |
If true, relative ancestor div is checked
| |
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.
| |
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.
| |
VerticalPosition |
Vertical position.
|
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.) | |
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.) | |
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 ControlsExtensions.) | |
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.) |