SliderSnapsTo Enum

Definition

Defines constants that specify how a Slider or related range control class conforms the indicator position to its steps or tick marks.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum SliderSnapsTo
XAML
<objectproperty="enumMemberName" />
Inheritance
SliderSnapsTo
Attributes

Fields

Name Value Description
StepValues 0

Conform the indicator to the step values.

Ticks 1

Conform the indicator to the tick marks.

Examples

XAML
<Slider TickPlacement="Inline"
        TickFrequency="20"
        SnapsTo="Ticks"/>

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also