DxContextMenuItem.Name Property

Specifies the unique identifier name for the current item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public string Name { get; set; }

Property Value

Type Description
String

The item’s name.

Remarks

<DxContextMenu>
    <Items>
        <DxContextMenuItem Name="SortBy" Text="Sort By" IconUrl="images/Sort_by.svg">
            <Items>
                <DxContextMenuItem Name="Name" Text="Name"></DxContextMenuItem>
                <DxContextMenuItem Name="Size" Text="Size"></DxContextMenuItem>
                <DxContextMenuItem Name="Type" Text="Type"></DxContextMenuItem>
            </Items>
        ...
    </Items>
</DxContextMenu>

ContextMenu Items

Run Demo: Context Menu

See Also