Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TickBarPlacement Enumeration

Specifies the placement of a TickBar with respect to the Track of a Slider control.

Namespace: System.Windows.Controls.Primitives
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public enum TickBarPlacement
public enum TickBarPlacement
public enum TickBarPlacement
<object property="EnumerationValue" .../>
 Member nameDescription
BottomThe tick bar is positioned below the Track of the Slider
LeftThe tick bar is positioned to the left of the Track of the Slider
RightThe tick bar is positioned to the right of the Track of the Slider.  
TopThe tick bar is positioned above the Track of the Slider.  

The TickBarPlacement enumeration is used to set the Placement property of a TickBar. The actual position of a TickBar is defined by the ControlTemplate of a Slider control. The Placement property identifies this position so that the ticks of a TickBar are drawn correctly. The following illustration shows how TickBar controls are drawn when the Placement property is set to Top and Bottom.

TickBar placement

For an example of a TickBar that is included in the Style of a Slider, see Slider Control Template.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.