Windows Dev Center

TickPlacement enumeration

Defines constants that specify the position of tick marks in a Slider in relation to the track that the control implements.

Syntax


public enum TickPlacement

Members

The TickPlacement enumeration has these members.

MemberValueDescription
None0

No tick marks appear.

TopLeft1

Tick marks appear above the track for a horizontal Slider, or to the left of the track for a vertical Slider.

BottomRight2

Tick marks appear below the track for a horizontal Slider, or to the right of the track for a vertical Slider.

Outside3

Tick marks appear on both sides of either a horizontal or vertical track.

Inline4

Tick marks appear directly on the track.

Examples


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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

Slider.TickPlacement

 

 

Show:
© 2015 Microsoft