Skip to main content

DxContextMenuItem.Name Property

Specifies the unique identifier name for the current item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string Name { get; set; }

Property Value

Type Default Description
String null

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