Skip to main content
All docs
V24.2

DxRangeSelectorScale.AllowDecimals Property

Specifies whether the scale displays labels with decimal values.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public bool? AllowDecimals { get; set; }

Property Value

Type Description
Nullable<Boolean>

true to allow decimal values; false to display integer values only.

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.

<DxRangeSelector Width="500px"
                 Height="200px"
                 Data="@Data">
    <DxRangeSelectorScale AllowDecimals="false" />
    @* ... *@
</DxRangeSelector>
See Also