Back to Devexpress

DxContextMenu Members

blazor-devexpress-dot-blazor-dot-dxcontextmenu-dot-underscore-members.md

latest5.5 KB
Original Source

DxContextMenu Members

A context menu component.

Constructors

NameDescription
DxContextMenu()Initializes a new instance of the DxContextMenu class.

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the Context Menu.
CssClassAssigns a CSS class to the DxContextMenu component.
DataSpecifies a data source.
DataMappingsSpecifies data mappings.
DropDownMaxHeightLimits the maximum height of a context menu and all its submenus.
EnabledSpecifies whether the Context Menu is enabled.
IdSpecifies the context menu’s unique identifier.
ItemsDefines the component’s item collection.
ItemTemplateSpecifies the template for all context menu items.
ItemTextTemplateSpecifies the text template for all context menu items.
PositionTargetSpecifies the target UI element for the context menu.
SizeModeSpecifies the size of the component’s inner elements. Also affects the component’s size.
SubMenuCssClassAssigns a CSS class to all menu drop-down items.
SubMenuTemplateSpecifies the template for submenus of all context menu items.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
HiddenFires when the Context Menu was hidden.
ItemClickFires when a user clicks a menu item.
ShownFires when the Context Menu is shown.

See Also

DxContextMenu Class

DevExpress.Blazor Namespace