Skip to main content
All docs
V24.2

GaugeBase.Enabled Property

Specifies whether the gauge component responds to user interaction.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.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 component; otherwise, true.

Remarks

Set the Enabled property to false to disable the gauge component. When disabled, the component does not respond to user interaction.

<DxBarGauge Width="100%"
            Height="500px"
            StartValue="-5"
            EndValue="5"
            BaseValue="0"
            Enabled="false"
            Values="@Values">
    @* ... *@
</DxBarGauge>

@code {
    double[] Values = new double[] { -2.13, 1.48, -3.09, 4.52, 4.9, 3.9 };
    // ...
}
See Also