Expand Minimize

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)

public enum TickBarPlacement
<object property="enumerationMemberName" .../>

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 Styles and Templates.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft