Share via


Hub.Orientation Property

Definition

Gets or sets the orientation of a Hub.

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

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

Property Value

One of the Orientation values. The default is Horizontal.

Applies to