Skip to main content
A newer version of this page is available. .
Tab

ASPxTrackBar.SmallTickFrequency Property

Gets or sets the frequency of small ticks .

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(5)]
public int SmallTickFrequency { get; set; }

Property Value

Type Default Description
Int32 5

An Int32 value that defines how frequently small ticks are placed.

Remarks

This property is a wrapper of the TrackBarProperties.SmallTickFrequency property.

Example

This example demonstrates how you can use the ASPxTrackBar control for price selection.

The ASPxTrackBar.ValueToolTipFormatString and ASPxTrackBar.ScaleLabelFormatString properties define the currency format. The ASPxTrackBar.ScaleLabelHighlightMode property specifies which scale labels should be highlighted.

The image below shows the result:

trackbar_example_valuetooltipformatstring

<dx:ASPxTrackBar ID="ASPxTrackBar2" runat="server" LargeTickEndValue="50" 
    MaxValue="50" ScaleLabelHighlightMode="HandlePosition" ScalePosition="Both" 
    SmallTickFrequency="10" ScaleLabelFormatString="{0:C0}" 
    ValueToolTipFormatString="Selected price: {0:C0}" Width="466px" >
</dx:ASPxTrackBar>
See Also