ScrollBar.Orientation Property
Definition
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.
public:
property Orientation Orientation { Orientation get(); void set(Orientation value); };
Orientation Orientation();
void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = scrollBar.orientation;
scrollBar.orientation = orientation;
Public Property Orientation As Orientation
<ScrollBar Orientation="Horizontal"/>
-or-
<ScrollBar Orientation="Vertical"/>
Property Value
An Orientation enumeration value that defines whether the ScrollBar is displayed horizontally or vertically. The default is Horizontal. Specific control templates might change this value, which would cause the templated value to be the apparent runtime default.