DxButton.Visible Property
Specifies the button’s visibility.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
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.
See Also