DxContextMenu Members
#Constructors
Name | Description |
---|---|
Dx |
Initializes a new instance of the Dx |
#Properties
Name | Description |
---|---|
Attributes | Specifies a collection of standard HTML attributes applied to the Context Menu. |
Css |
Assigns a CSS class to the Dx component.
|
Data | Specifies a data source. |
Data |
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. |
Item |
Specifies the template for all context menu items. |
Item |
Specifies the text template for all context menu items. |
Position |
Specifies the target UI element for the context menu. |
Size |
Specifies the size of the component’s inner elements. Also affects the component’s size. |
Sub |
Assigns a CSS class to all menu drop-down items. |
Sub |
Specifies the template for submenus of all context menu items. |
#Methods
Name | Description |
---|---|
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Hide |
Hides the Context Menu. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Show |
Displays the Context Menu at one of the base positions in relation to the target UI element. |
Show |
Displays the Context Menu according to a mouse event’s coordinates. |
Show |
Displays the Context Menu with custom horizontal and vertical offsets from one of the base positions in relation to the target UI element. |
Show |
Displays the Context Menu at the specified location. |
To |
Returns a string that represents the current object. Inherited from Object. |
#Events
Name | Description |
---|---|
Hidden | Fires when the Context Menu was hidden. |
Item |
Fires when a user clicks a menu item. |
Shown | Fires when the Context Menu is shown. |