Slider.SnapsTo property

Applies to Windows and Windows Phone

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

Syntax


public:
property SliderSnapsTo SnapsTo { 
   SliderSnapsTo get();
   void set (SliderSnapsTo value);
}


<Slider SnapsTo="sliderSnapsToMemberName" />

Property value

Type: SliderSnapsTo

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Slider
StepFrequency
TickFrequency

 

 

Show:
© 2014 Microsoft