Skip to main content

DxButton.Visible Property

Specifies the button’s visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor


public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true to show the button; otherwise, false.


To hide the button, set Visible to false.

<DxButton RenderStyle="ButtonRenderStyle.Primary" Text="Disabled button" Visible="false" />

To restrict user interaction with a button without hiding it, set the Enabled property to false to disable the button.

Run Demo: Button

See Also