Skip to main content

DxContextMenu Members

A context menu component.

Constructors

Name Description
DxContextMenu() Initializes a new instance of the DxContextMenu class.

Properties

Name Description
Attributes Specifies a collection of standard HTML attributes applied to the Context Menu.
CssClass Assigns a CSS class to the DxContextMenu component.
Data Specifies a data source.
DataMappings Specifies data mappings.
Enabled Specifies whether the Context Menu is enabled.
Id Specifies the context menu’s unique identifier.
Items Defines the component’s item collection.
ItemTemplate Specifies the template for all context menu items.
ItemTextTemplate Specifies the text template for all context menu items.
PositionTarget Specifies the target UI element for the context menu.
SizeMode Specifies the size of the component’s inner elements. Also affects the component’s size.
SubMenuCssClass Assigns a CSS class to all menu drop-down items.
SubMenuTemplate Specifies the template for submenus of all context menu items.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HideAsync() Hides the Context Menu.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowAsync(ContextMenuPosition) Displays the Context Menu at one of the base positions in relation to the target UI element.
ShowAsync(MouseEventArgs) Displays the Context Menu according to a mouse event’s coordinates.
ShowAsync(Double, Double, ContextMenuPosition) Displays the Context Menu with custom horizontal and vertical offsets from one of the base positions in relation to the target UI element.
ShowAsync(Double, Double) Displays the Context Menu at the specified location.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Hidden Fires when the Context Menu was hidden.
ItemClick Fires when a user clicks a menu item.
Shown Fires when the Context Menu is shown.
See Also