GaugeBase.RedrawOnResize Property
Specifies whether to redraw the gauge when its container’s size changes.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(true)]
[Parameter]
public bool RedrawOnResize { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
When the size of the gauge component’s container changes, the component is redrawn.
To disable this behavior, set the RedrawOnResize
property to false
.
<DxBarGauge Width="100%"
Height="500px"
StartValue="0"
EndValue="100"
RedrawOnResize="false"
Values="@Values">
@* ... *@
</DxBarGauge>
@code {
double[] Values = new double[] { 47.27, 65.32, 84.59, 81.86, 99 };
// ...
}
See Also