Skip to main content

DxToolbarItemBase.Enabled Property

Specifies whether the item is enabled.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool Enabled { get; set; }

Property Value

Type Default Description
Boolean true

true if the item is enabled; otherwise, false.

Remarks

Disabled items (Enabled is set to false) do not respond to user interaction.

<DxToolbar>
    <DxToolbarItem Text="Insert"></DxToolbarItem>
    <DxToolbarItem Text="Edit" Enabled="false"></DxToolbarItem>
    <DxToolbarItem Text="Delete"></DxToolbarItem>
</DxToolbar>

Toolbar Item Enabled

See Also