Slider.SnapsTo Slider.SnapsTo Slider.SnapsTo Slider.SnapsTo Property

Definition

Gets or sets a value that indicates how the Slider conforms the thumb position to its steps or tick marks.

public : SliderSnapsTo SnapsTo { get; set; }
SliderSnapsTo SnapsTo();

void SnapsTo(SliderSnapsTo snapsto);
public SliderSnapsTo SnapsTo { get; set; }
Public ReadWrite Property SnapsTo As SliderSnapsTo
<Slider SnapsTo="sliderSnapsToMemberName" />

Property Value

An enumeration value that specifies whether the Slider snaps to steps or tick marks. The default is StepValues.

Remarks

Set the SnapsTo property to specify whether the Slider snaps to tick marks or step values. Set the TickFrequency or StepFrequency property to specify the interval between snap points.

See also