This topic has not yet been rated - Rate this topic

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

Attributes

VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

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

Namespace

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

Metadata

Windows.winmd

See also

Slider.TickPlacement

 

 

Build date: 3/12/2013

© 2013 Microsoft. All rights reserved.