Skip to main content
All docs
V25.1
  • DxButtonBase.Enabled Property

    Specifies whether the button is enabled.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    Property Value

    Type Default Description
    Boolean true

    false to disable the button; otherwise, true.

    Remarks

    Set the Enabled property to false to disable the button.

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

    Disabled Button

    To hide the button, set the Visible property to false.

    Run Demo: Button

    See Also