The ContextMenu 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 | |
---|---|---|
![]() | ContextMenu |
Constructor
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Adds information about the background image, alignment, wrap, and direction to the list of attributes to render. (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 a style object that is used internally by the (Inherited from ![]() ![]() |
![]() | ![]() | Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. (Inherited from ![]() |
![]() | ![]() | 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 ![]() |
![]() | ![]() | (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 ![]() |
![]() | GetCallbackResult |
Returns the callback result.
|
![]() | ![]() | 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 ![]() |
![]() | ![]() | 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 ![]() ![]() |
![]() | LoadUserControl |
Loads the specified control to the menu.
|
![]() | ![]() | 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 |
Init event handler.
(Inherited from CMSPanel.) |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | OnPreRender |
Control PreRender event.
(Overrides CMSPanel OnPreRender(EventArgs).) |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Assigns any sources of the event and its information to the control's parent. (Inherited from ![]() |
![]() | RaiseCallbackEvent |
Raises the callback event.
|
![]() | ![]() | (Inherited from ![]() |
![]() | Render |
Renders the control.
(Overrides CMSPanel Render(HtmlTextWriter).) |
![]() | ![]() | Renders the HTML opening tag of the (Inherited from ![]() ![]() |
![]() | ![]() | 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 ![]() ![]() ![]() |
![]() | ![]() | Renders the HTML closing tag of the (Inherited from ![]() ![]() |
![]() | ![]() | Outputs the content of a server control's children to a provided (Inherited from ![]() ![]() |
![]() | ![]() | 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.) |
![]() | 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.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | CONTEXT_MENU_SUFFIX |
Context menu suffix.
|
![]() | mContainerUniqueID |
Container unique ID.
|
![]() | mContextMenuControl |
Context menu control.
|
![]() | mHorizontalPosition |
Horizontal position.
|
![]() | mMenuID |
Menu ID.
|
![]() | mMouseButton |
Mouse button.
|
![]() | mParameter |
Menu parameter.
|
![]() | mResourcePrefix |
Prefix for the resource strings which will be used for the strings of the context menu.
|
![]() | mShowTimeout |
Timeout to show the menu until it disappears.
|
![]() | mVerticalPosition |
Vertical position.
|
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.
|
![]() | ActiveItemInactiveCssClass |
CSS class of highlighted element when context menu is closed.
|
![]() | ActiveItemOffset |
Determines how many levels above the clicked element the active element is.
|
![]() | ![]() | 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 or sets the URL of the background image for the panel 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 ![]() ![]() |
![]() | Collapsible |
Determines whether is possible to collapse the panel by clicking its grouping text.
(Inherited from CMSPanel.) |
![]() | ContainerUniqueID |
Container unique ID.
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ContextMenuControl |
Context menu control.
|
![]() | ![]() | 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 ![]() |
![]() | ![]() | 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 or sets the identifier for the default button that is contained in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether a control is being used on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets the direction in which to display controls that include text in a (Inherited from ![]() ![]() |
![]() | Dynamic |
Determines whether to load the menu dynamically.
|
![]() | ![]() | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from ![]() |
![]() | ![]() | 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 ![]() |
![]() | 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.) |
![]() | ![]() | 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 ![]() |
![]() | ![]() | Gets or sets the caption for the group of controls that is contained in the panel control. (Inherited from ![]() |
![]() | GroupingTextResourceString |
Resource string for the grouping text
(Inherited from CMSPanel.) |
![]() | ![]() | 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 ![]() |
![]() | ![]() | Gets or sets the horizontal alignment of the contents within the panel. (Inherited from ![]() |
![]() | HorizontalPosition |
Horizontal position.
|
![]() | ![]() | 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 ![]() |
![]() | IsCollapsed |
Initial collapsed state.
(Inherited from CMSPanel.) |
![]() | ![]() | 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 CMSPanel.) |
![]() | ![]() | 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 ![]() |
![]() | LoadingContent |
Content displayed during loading.
|
![]() | ![]() | Gets a value indicating whether the control participates in loading its view state by (Inherited from ![]() ![]() |
![]() | MenuID |
Menu ID, must be unique within page context.
|
![]() | MenuLevel |
Menu level.
|
![]() | MouseButton |
Mouse button.
|
![]() | ![]() | 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.
|
![]() | OffsetY |
Offset Y of the menu.
|
![]() | OpenUp |
If true, the menu opens in the upward direction instead down
|
![]() | OuterCssClass |
CSS Class for the outer envelope of the menu
|
![]() | ![]() | Gets a reference to the (Inherited from ![]() ![]() |
![]() | Parameter |
Menu parameter.
|
![]() | ![]() | 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.
|
![]() | RenderChildrenOnly |
If true, only child controls are render to the output
(Inherited from CMSPanel.) |
![]() | ![]() | 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".
|
![]() | ![]() | Gets or sets the visibility and position of scroll bars in a (Inherited from ![]() ![]() |
![]() | ShortID |
Short ID of the control.
(Inherited from CMSPanel.) |
![]() | ShowMenuOnMouseOver |
Show menu on mouse over action?
|
![]() | ShowTimeout |
Timeout to show the menu until it disappears.
|
![]() | ![]() | 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 ![]() |
![]() | ![]() | 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 ![]() |
![]() | ![]() | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from ![]() |
![]() | VerticalPosition |
Vertical position.
|
![]() | ![]() | 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 ![]() |
![]() | ![]() | Gets or sets a value indicating whether the content wraps within the panel. (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 ![]() ![]() |
![]() | OnReloadData |
Raised when the menu requires to reload its data (for dynamic menus).
|
![]() | ![]() | Occurs after the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control is unloaded from memory. (Inherited from ![]() |
See Also