Track::Orientation Property
.NET Framework (current version)
Gets or sets a value that indicates whether the Track is displayed horizontally or vertically.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property Orientation Orientation { Orientation get(); void set(Orientation value); }
Property Value
Type: System.Windows.Controls::OrientationAn Orientation enumeration value that indicates whether the Track is displayed horizontally or vertically. The default is Horizontal.
If you implement a Track as part of a ScrollBar control and you do not explicitly set the Orientation property, the Track::Orientation property binds to the ScrollBar::Orientation.
If you implement a Track as part of a Slider control and you do not explicitly set the Orientation property, the Track::Orientation property binds to the Slider::Orientation.
Identifier field | |
Metadata properties set to true |
.NET Framework
Available since 3.0
Available since 3.0
Show: