Skip to main content

DxToolbarItemBase.Visible Property

Specifies whether an item is visible or hidden.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
Boolean true

true to show the item; otherwise, false.

Remarks

Use the Visible property to hide a Toolbar item.

<DxToolbar>
    <DxToolbarItem Text="Hidden item" Visible="false"></DxToolbarItem>
    @* ... *@
</DxToolbar>

Run Demo: Toolbar

See Also