ContextMenuItem Class |
Namespace: CMS.ExtendedControls
public class ContextMenuItem : CMSPanel, IPostBackEventHandler, INamingContainer
The ContextMenuItem type exposes the following members.
Name | Description | |
---|---|---|
ContextMenuItem |
Constructor.
|
Name | Description | |
---|---|---|
Collapsible |
Determines whether is possible to collapse the panel by clicking its grouping text.
(Inherited from CMSPanel.) | |
FixedParentClientID |
Parent client ID to be used for fixed panels placeholders
(Inherited from CMSPanel.) | |
FixedPosition |
Indicates if panel should be always on top of a page.
(Inherited from CMSPanel.) | |
GroupingTextResourceString |
Resource string for the grouping text
(Inherited from CMSPanel.) | |
IsCollapsed |
Initial collapsed state.
(Inherited from CMSPanel.) | |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSPanel.) | |
Label |
Item label.
| |
Last |
If true, the item is considered last.
| |
OnClientClick |
If set, the value is assigned to the onclick attribute
| |
RedirectUrl |
URL to which the context menu item redirects
| |
RenderChildrenOnly |
If true, only child controls are render to the output
(Inherited from CMSPanel.) | |
ResourceString |
If set, the item text is generated from the given resource string
| |
ShortID |
Short ID of the control.
(Inherited from CMSPanel.) | |
SubMenuContainer |
Context menu container for submenu.
| |
SubMenuID |
ID of the sub context menu.
| |
Text |
Label text.
|
Name | Description | |
---|---|---|
OnInit |
Init event handler.
(Inherited from CMSPanel.) | |
OnPreRender |
PreRender event handler.
(Overrides CMSPanelOnPreRender(EventArgs).) | |
RaisePostBackEvent |
Postback event handling
| |
Render |
Render event handler.
(Overrides CMSPanelRender(HtmlTextWriter).) |
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.) |