ItemsStackPanel.Orientation 属性

定义

获取或设置子元素堆叠所依据的维度。

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

void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = itemsStackPanel.orientation;
itemsStackPanel.orientation = orientation;
Public Property Orientation As Orientation
ItemsStackPanel Orientation="orientationMemberName" />

属性值

指定子元素方向的枚举值之一。 默认值为 Vertical

适用于