TickPlacement enumeration

Applies to Windows and Windows Phone

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

Attributes

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

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

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

See also

Slider.TickPlacement

 

 

Show:
© 2014 Microsoft