blazor-devexpress-dot-blazor-a64d93f4.md
Contains settings for minor scale ticks.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public class DxRangeSelectorScaleMinorTick :
DxSettingsComponent<RangeSelectorScaleMinorTickModel>
Add a DxRangeSelectorScaleMinorTick object to the DxRangeSelectorScale component markup to configure settings of minor scale ticks in DxRangeSelector.
Show Nested Component Structure
DxRangeSelectorScaleMinorTickThe Range Selector calculates minor tick intervals automatically based on data source values. You can use the DxRangeSelectorScale.MinorTickInterval property to set a custom interval for minor scale ticks. Alternatively, use the DxRangeSelectorScale.MinorTickCount property to specify the number of minor ticks between two neighboring major ticks.
Note
The DxRangeSelectorScale.MinorTickInterval property has priority over the DxRangeSelectorScale.MinorTickCount property.
The DxRangeSelectorScaleMinorTick component allows you to customize the color, opacity, and width of minor scale ticks. To hide minor ticks, set the Visible property to false.
The following code snippet changes the appearance of minor scale ticks in the <DxRangeSelector> component:
<DxRangeSelector Width="100%"
ValueChanged="@OnValueChanged"
ValueChangeMode="RangeSelectorValueChangeMode.OnHandleMove">
<DxTitleSettings Text="Filter Order List by Total Cost" />
<DxRangeSelectorScale StartValue="@minTotal"
EndValue="@maxTotal"
TickInterval="1000">
<DxRangeSelectorScaleTick Opacity="0.9" />
<DxRangeSelectorScaleMinorTick Color="#28a745" Opacity="0.7" />
</DxRangeSelectorScale>
<DxRangeSelectorSliderMarker>
<DxTextFormatSettings LdmlString=",##0" />
</DxRangeSelectorSliderMarker>
</DxRangeSelector>
Object ComponentBase DxSettingsComponent<DevExpress.Blazor.Internal.RangeSelectorScaleMinorTickModel> DxRangeSelectorScaleMinorTick
See Also