Sdílet prostřednictvím


Slider.Orientation Property

Definition

Gets or sets the orientation of a Slider.

public:
 property Orientation Orientation { Orientation get(); void set(Orientation value); };
Orientation Orientation();

void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = slider.orientation;
slider.orientation = orientation;
Public Property Orientation As Orientation
<Slider Orientation="Horizontal"/>
-or-
<Slider Orientation="Vertical"/>

Property Value

One of the Orientation values. The default is Horizontal.

Applies to