MenuDropDownActionMode Enum
Lists values that specify which action opens a menu item’s submenu.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum MenuDropDownActionMode
Members
Name | Description |
---|---|
Default
|
In mobile mode, the submenu opens when the menu item is clicked. |
Hover
|
The submenu opens when the menu item is hovered over. |
Click
|
The submenu opens when the menu item is clicked. |
Related API Members
The following properties accept/return MenuDropDownActionMode values:
Remarks
In the following example, the Hover
action is used to open a menu item’s submenu.
<div class="card w-auto">
<DxMenu Title="DevExpress" DropDownActionMode="MenuDropDownActionMode.Hover">
<Items>
<DxMenuItem Text="Products" IconCssClass="oi oi-layers">
<Items>
<DxMenuItem Text="Subscriptions / Packs" />
<DxMenuItem Text=".NET Windows Forms Components" />
<DxMenuItem Text="Reporting / Printing Suites" />
<DxMenuItem Text="VCL Components and Tools" />
<DxMenuItem Text="ASP.NET Components" />
</Items>
</DxMenuItem>
<DxMenuItem Text="Support" IconCssClass="oi oi-person">
<Items>
<DxMenuItem Text="Knowledge Base" />
<DxMenuItem Text="Documentation" />
<DxMenuItem Text="Support Center" />
<DxMenuItem Text="Newsgroups" />
<DxMenuItem Text="Best Practices" />
</Items>
</DxMenuItem>
</Items>
</DxMenu>
</div>
See Also