DxToolbarItemBase.Enabled Property

Specifies whether the item is enabled.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(true)]
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