DxRangeSelectorScale.AllowDecimals Property
In This Article
Specifies whether the scale displays labels with decimal values.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[Parameter]
public bool? AllowDecimals { get; set; }
#Property Value
Type | Description |
---|---|
Nullable<Boolean> |
|
#Remarks
The Range Selector can display decimal and integer values in scale labels. Use the AllowDecimals
property to specify how the component displays these values.
Razor
<DxRangeSelector Width="500px"
Height="200px"
Data="@Data">
<DxRangeSelectorScale AllowDecimals="false" />
@* ... *@
</DxRangeSelector>
See Also