AbstractSize.NaturalOrientation 属性

定义

几何单位的 "自然" 方向,从使用它的上下文的角度来看。 例如,使用垂直方向编写 System.windows.controls.stackpanel> 的布局代码可能最为自然,因为现实世界中的堆栈是垂直的。在给定上下文中选择自然方向并不重要,前提是在该上下文中一致地使用相同的自然方向。

public:
 property System::Windows::Controls::Orientation NaturalOrientation { System::Windows::Controls::Orientation get(); };
public System.Windows.Controls.Orientation NaturalOrientation { get; }
member this.NaturalOrientation : System.Windows.Controls.Orientation
Public ReadOnly Property NaturalOrientation As Orientation

属性值

Orientation

返回 Orientation

适用于