The ContextMenuButton type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | ContextMenuButton |
Constructor.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Adds HTML attributes and styles that need to be rendered to the specified (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from ![]() |
![]() | ![]() | Applies the style properties defined in the page style sheet to the control. (Inherited from ![]() |
![]() | ![]() | Gathers information about the server control and delivers it to the (Inherited from ![]() ![]() |
![]() | ![]() | Sets the cached (Inherited from ![]() ![]() |
![]() | ![]() | Sets the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Deletes the control-state information for the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state and control-state information for all the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state information for all the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Copies the properties not encapsulated by the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a new (Inherited from ![]() ![]() |
![]() | ![]() | Creates the style object that is used internally by the (Inherited from ![]() ![]() |
![]() | CreateChildControls |
Creates the child controls.
(Overrides ![]() |
![]() | ![]() | Binds a data source to the invoked server control and all its child controls. (Inherited from ![]() |
![]() | ![]() | Binds a data source to the invoked server control and all its child controls with an option to raise the (Inherited from ![]() ![]() |
![]() | ![]() | Binds a data source to the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Enables a server control to perform final clean up before it is released from memory. (Inherited from ![]() |
![]() | ![]() | Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from ![]() |
![]() | ![]() | Creates an identifier for controls that do not have an identifier assigned. (Inherited from ![]() |
![]() | EnsureMenuControl |
Ensures the menu control.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id parameter. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the (Inherited from ![]() ![]() |
![]() | ![]() | Sets input focus to a control. (Inherited from ![]() |
![]() | ![]() | Gets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Returns the prefixed portion of the (Inherited from ![]() ![]() |
![]() | ![]() | Determines if the server control contains any child controls. (Inherited from ![]() |
![]() | ![]() | Returns a value indicating whether events are registered for the control or any child controls. (Inherited from ![]() |
![]() | InitializeMenuControl |
Initializes menu control properties
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Determines if the server control holds only literal content. (Inherited from ![]() |
![]() | ![]() | Restores control-state information from a previous page request that was saved by the (Inherited from ![]() ![]() |
![]() | ![]() | Restores view-state information from a previous request that was saved with the (Inherited from ![]() ![]() |
![]() | ![]() | Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | OnInit |
Control Init event.
(Inherited from ContextMenuContainer.) |
![]() | OnLoad |
Control Load event.
(Inherited from ContextMenuContainer.) |
![]() | OnPreRender |
Control PreRender event.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Assigns any sources of the event and its information to the control's parent. (Inherited from ![]() |
![]() | ReloadMenuData |
Reload menu data.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | (Inherited from ![]() |
![]() | Render |
Control Render event.
(Inherited from ContextMenuContainer.) |
![]() | RenderBeginTag |
Renders the begin tag of the control
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Renders the contents of the control to the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() ![]() |
![]() | RenderEndTag |
Renders the end tag of the control
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Outputs the content of a server control's children to a provided (Inherited from ![]() ![]() |
![]() | RenderStartTag |
Renders the start tag for the menu container.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets the control adapter responsible for rendering the specified control. (Inherited from ![]() |
![]() | ![]() | Gets a URL that can be used by the browser. (Inherited from ![]() |
![]() | ![]() | Converts a URL into one that is usable on the requesting client. (Inherited from ![]() |
![]() | ![]() | Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from ![]() |
![]() | ![]() | Saves any state that was modified after the (Inherited from ![]() ![]() |
![]() | ![]() | Sets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | ![]() | Causes the control to track changes to its view state so they can be stored in the object's (Inherited from ![]() ![]() |
Extension Methods
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.) |
![]() | 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.) |
Fields
Name | Description | |
---|---|---|
![]() | mContextMenuCssClass |
Context menu CSS class.
(Inherited from ContextMenuContainer.) |
![]() | mCssStyle |
CSS style.
(Inherited from ContextMenuContainer.) |
![]() | mHorizontalPosition |
Horizontal position.
(Inherited from ContextMenuContainer.) |
![]() | mCheckRelative |
If true, relative ancestor div is checked
(Inherited from ContextMenuContainer.) |
![]() | mImage |
Action image.
|
![]() | mMenuControl |
Menu control.
(Inherited from ContextMenuContainer.) |
![]() | mMenuID |
Menu ID.
(Inherited from ContextMenuContainer.) |
![]() | mMouseButton |
Mouse button.
(Inherited from ContextMenuContainer.) |
![]() | mParameter |
Menu parameter.
(Inherited from ContextMenuContainer.) |
![]() | mRenderAsTag |
Default render tag.
(Inherited from ContextMenuContainer.) |
![]() | mResourcePrefix |
Prefix for the resource strings which will be used for the strings of the context menu.
(Inherited from ContextMenuContainer.) |
![]() | mStopProcessing |
Indicates if the control should perform the operations.
(Inherited from ContextMenuContainer.) |
![]() | mVerticalPosition |
Vertical position.
(Inherited from ContextMenuContainer.) |
Properties
Name | Description | |
---|---|---|
![]() | ![]() | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from ![]() |
![]() | ActiveItemCssClass |
CSS class of highlighted element when context menu is opened.
(Inherited from ContextMenuContainer.) |
![]() | ActiveItemInactiveCssClass |
CSS class of highlighted element when context menu is closed.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets the browser-specific adapter for the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the application-relative virtual directory of the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the background color of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the control that contains this control's data binding. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border color of the Web control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border style of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border width of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the control ID for HTML markup that is generated by ASP.NET. (Inherited from ![]() |
![]() | ![]() | Gets or sets the algorithm that is used to generate the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a character value representing the separator character used in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ContextMenuCssClass |
Context menu CSS class.
(Inherited from ContextMenuContainer.) |
![]() | ContextMenuParent |
Control which is the parent for the context menu.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether a (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from ![]() |
![]() | CssStyle |
Container CSS style.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether a control is being used on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from ![]() |
![]() | EnableMouseClick |
Enable mouse click.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets or sets a value indicating whether themes apply to this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from ![]() |
![]() | ![]() | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from ![]() |
![]() | ![]() | Gets the font properties associated with the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from ![]() |
![]() | GetContextMethod |
Name of the javascript method which provides the element context to the menu
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a value indicating whether the control has attributes set. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from ![]() |
![]() | ![]() | Gets or sets the height of the Web server control. (Inherited from ![]() |
![]() | HorizontalPosition |
Horizontal position.
(Inherited from ContextMenuContainer.) |
![]() | CheckRelative |
If true, relative ancestor div is checked
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a value that indicates whether the server control's child controls have been created. (Inherited from ![]() |
![]() | ![]() | Gets or sets the programmatic identifier assigned to the server control. (Inherited from ![]() |
![]() | ![]() | Gets the character used to separate control identifiers. (Inherited from ![]() |
![]() | Image |
Action image.
|
![]() | ![]() | Gets a value indicating whether the control is enabled. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether controls contained within this control have control state. (Inherited from ![]() |
![]() | IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) |
![]() | ![]() | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether view state is enabled for this control. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control participates in loading its view state by (Inherited from ![]() ![]() |
![]() | MenuControl |
Menu control.
(Inherited from ContextMenuContainer.) |
![]() | MenuControlPath |
Menu control.
(Inherited from ContextMenuContainer.) |
![]() | MenuID |
Menu ID.
(Inherited from ContextMenuContainer.) |
![]() | MenuParameter |
Parameter for the menu control.
(Inherited from ContextMenuContainer.) |
![]() | MouseButton |
Mouse button.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same (Inherited from ![]() ![]() |
![]() | OffsetX |
Offset X of the menu.
(Inherited from ContextMenuContainer.) |
![]() | OffsetY |
Offset Y of the menu.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a reference to the (Inherited from ![]() ![]() |
![]() | Parameter |
Menu parameter.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from ![]() |
![]() | ParentElementClientID |
Identifier of parent element under which the context menu lies.
This parameter is optional.
(Inherited from ContextMenuContainer.) |
![]() | RenderAsTag |
Specifies how the container should be rendered (as which tag).
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from ![]() |
![]() | ResourcePrefix |
Prefix for the resource strings which will be used for the strings of the context menu.
Default is "general".
(Inherited from ContextMenuContainer.) |
![]() | ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) |
![]() | ![]() | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets the skin to apply to the control. (Inherited from ![]() |
![]() | StopProcessing |
Indicates if the control should perform the operations.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the tab index of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets or sets a reference to the template that contains this control. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from ![]() |
![]() | UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) |
![]() | ![]() | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from ![]() |
![]() | VerticalPosition |
Vertical position.
(Inherited from ContextMenuContainer.) |
![]() | ![]() | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the view-state mode of this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from ![]() |
![]() | ![]() | Gets or sets the width of the Web server control. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when the server control binds to a data source. (Inherited from ![]() |
![]() | ![]() | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from ![]() |
![]() | ![]() | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from ![]() |
![]() | ![]() | Occurs when the server control is loaded into the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs after the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control is unloaded from memory. (Inherited from ![]() |
See Also