Track.Orientation Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the Track is displayed horizontally or vertically.
public:
property System::Windows::Controls::Orientation Orientation { System::Windows::Controls::Orientation get(); void set(System::Windows::Controls::Orientation value); };
public System.Windows.Controls.Orientation Orientation { get; set; }
member this.Orientation : System.Windows.Controls.Orientation with get, set
Public Property Orientation As Orientation
An 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.
Item | Value |
---|---|
Identifier field | OrientationProperty |
Metadata properties set to true |
AffectsMeasure |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: