Back to Devexpress

DxRangeSelectorScale.AllowDecimals Property

blazor-devexpress-dot-blazor-dot-dxrangeselectorscale-a85af82b.md

latest1.3 KB
Original Source

DxRangeSelectorScale.AllowDecimals Property

Specifies whether the scale displays labels with decimal values.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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.

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

See Also

DxRangeSelectorScale Class

DxRangeSelectorScale Members

DevExpress.Blazor Namespace