GaugeBase.Enabled Property
In This Article
Specifies whether the gauge component responds to user interaction.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[DefaultValue(true)]
[Parameter]
public bool Enabled { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Remarks
Set the Enabled
property to false
to disable the gauge component. When disabled, the component does not respond to user interaction.
Razor
<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