Slider.SnapsTo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property SliderSnapsTo SnapsTo { SliderSnapsTo get(); void set(SliderSnapsTo value); };
SliderSnapsTo SnapsTo();
void SnapsTo(SliderSnapsTo value);
public SliderSnapsTo SnapsTo { get; set; }
var sliderSnapsTo = slider.snapsTo;
slider.snapsTo = sliderSnapsTo;
Public 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.