Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxRangeSelectorScaleTick Class

Contains appearance settings for major scale ticks.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class DxRangeSelectorScaleTick :
    DxSettingsComponent<RangeSelectorScaleTickModel>

#Remarks

Add a DxRangeSelectorScaleTick object to the DxRangeSelectorScale component markup to customize the appearance of major scale ticks in DxRangeSelector.

Range Selector - Major Scale Ticks

The Range Selector calculates tick intervals automatically based on data source values. You can use the DxRangeSelectorScale.TickInterval property to set a custom interval for major scale ticks.

Labels accompany major ticks. To configure label settings, add a DxRangeSelectorScaleLabel object to the DxRangeSelectorScale component markup.

The DxRangeSelectorScaleTick component allows you to customize the color, opacity, and width of major scale ticks.

#Example

The following code snippet changes the appearance of major scale ticks in the <DxRangeSelector> component:

Range Selector - Scale Tick Customization

Razor
<DxRangeSelector Width="100%"
                 ValueChanged="@OnValueChanged"
                 ValueChangeMode="RangeSelectorValueChangeMode.OnHandleMove">
    <DxTitleSettings Text="Filter Order List by Total Cost" />
    <DxRangeSelectorScale StartValue="@minTotal"
                          EndValue="@maxTotal"
                          TickInterval="1000">
        <DxRangeSelectorScaleTick Color="#ffc107" Opacity="0.9" />
    </DxRangeSelectorScale>
    <DxRangeSelectorSliderMarker>
        <DxTextFormatSettings LdmlString=",##0" />
    </DxRangeSelectorSliderMarker>
</DxRangeSelector>

Run Demo

#Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.RangeSelectorScaleTickModel>
DxRangeSelectorScaleTick
See Also