Slider.TickPlacement property
Gets or sets a value that indicates where to draw tick marks in relation to the track.
Syntax
<Slider TickPlacement="tickPlacementMemberName" />
Property value
Type: TickPlacement
An enumeration value that specifies where to draw tick marks in relation to the track. The default is Inline.
Remarks
The drawing of tick marks on a slider depends on both the TickFrequency and TickPlacement properties. In order for tick marks to be shown, you must set the TickFrequency property to a value greater than 0, and the TickPlacement property to a value other than None.
Examples
Here's a slider with its TickFrequency set to 2 and its TickPlacement set to BottomRight.
<Slider x:Name="slider2" Minimum="0" Maximum="10" TickFrequency="2" TickPlacement="BottomRight" ValueChanged="slider2_ValueChanged" />
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013
