Version

Set Tick Mark Behavior

You can control what happens when your end user clicks or double-clicks tick marks and labels of WebSlider™.

You can set several properties exposed by the Tickmarks object to define tick mark and label click actions.

The following example code demonstrates how move the thumb to a tick mark when double-clicked.

WebSlider Customize Appearance of Tick Marks 01.png

In Visual Basic:

Me.WebSlider1.Tickmarks.TickmarkClickAction = _
Infragistics.Web.UI.EditorControls.SliderTickmarkClickAction.MoveToTick

In C#:

this.WebSlider1.Tickmarks.TickmarkClickAction = Infragistics.Web.UI.EditorControls.SliderTickmarkClickAction.MoveToTick;