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 Specifies a lambda expression that returns a Boolean value. This value indicates whether an item is the start of a new item group.
ChildrenExpression Specifies a lambda expression that returns a menu item’s children.
ClickExpression 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 Context Menu component’s data source.
EnabledExpression Specifies a lambda expression that returns a Boolean value. This value indicates whether an item is enabled.
IconCssClassExpression Specifies a lambda expression that returns a menu item icon’s CSS class.
IconUrlExpression Specifies a lambda expression that returns the URL of a menu item icon.
Id For internal use only. Inherited from DxComponentBase.
Items Defines the component’s item collection.
NameExpression Specifies an expression that returns a menu item’s name.
TextExpression Specifies a lambda expression that returns a menu item’s text.
VisibleExpression 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.
Hide() 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.
Show(MouseEventArgs) Displays the Context Menu according to a mouse event’s coordinates.
Show(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