Skip to main content
A newer version of this page is available. .

DxContextMenu Members

A Context Menu component.

Constructors

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

Properties

Name Description
BeginGroupExpression Obsolete. Specifies a lambda expression that returns a Boolean value. This value indicates whether an item is the start of a new item group.
ChildrenExpression Obsolete. Specifies a lambda expression that returns a menu item’s children.
ClickExpression Obsolete. Specifies a lambda expression that returns a handler for a menu item’s Click event.
CssClass Specifies the name of the component’s CSS class. Inherited from DxComponentBase.
Data Specifies a data source.
DataMappings Specifies data mappings.
Enabled Specifies whether the Context Menu is enabled.
EnabledExpression Obsolete. Specifies a lambda expression that returns a Boolean value. This value indicates whether an item is enabled.
IconCssClassExpression Obsolete. Specifies a lambda expression that returns a menu item icon’s CSS class.
IconUrlExpression Obsolete. Specifies a lambda expression that returns the URL of a menu item icon.
Id Specifies the component’s unique identifier. Inherited from DxComponentBase.
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.
NameExpression Obsolete. Specifies an expression that returns a menu item’s name.
SubMenuTemplate Specifies the template for submenus of all context menu items.
TextExpression Obsolete. Specifies a lambda expression that returns a menu item’s text.
VisibleExpression Obsolete. Specifies a lambda expression that returns a Boolean value. This value indicates whether an item is visible.

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(MouseEventArgs) Displays the Context Menu according to a mouse event’s coordinates.
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