VirtualizingStackPanel.Orientation 属性

定义

获取或设置一个值,该值描述堆积内容的水平或垂直方向。

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

属性值

Orientation子内容。 默认值为 Vertical

注解

Dependency 属性信息

项目 价值
标识符字段 OrientationProperty
元数据属性设置为 true AffectsMeasure

适用于