Back to Devexpress

DxContextMenuItem Members

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

latest4.9 KB
Original Source

DxContextMenuItem Members

Defines an item in the Context Menu component.

Constructors

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

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the context menu item.
BeginGroupSpecifies whether an item is the start of a new item group.
CssClassAssigns a CSS class to a context menu item.
EnabledSpecifies whether navigation component’s item is enabled. Inherited from DxNavigationItemBaseComponent<TModel>.
IconCssClassSpecifies a menu item icon’s CSS class.
IconUrlSpecifies a menu item icon’s URL.
ItemsProvides access to the collection of the current item’s child items.
NameSpecifies the unique identifier name for the current item.
SubMenuCssClassAssigns a CSS class to the Context Menu item’s drop-down menu.
SubMenuTemplateSpecifies the template for the context menu item’s submenu.
SyncRootFor internal use only. Inherited from DxModelComponent.
TemplateSpecifies the context menu item’s template.
TextSpecifies the item text content.
TextTemplateSpecifies the text template for the context menu item.
VisibleSpecifies whether the navigation component is visible. Inherited from DxNavigationItemBaseComponent<TModel>.

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.
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.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
ClickFires when a user clicks the processed menu item.

See Also

DxContextMenuItem Class

DevExpress.Blazor Namespace