AbstractSize.NaturalOrientation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
几何单位的 "自然" 方向,从使用它的上下文的角度来看。 例如,使用垂直方向编写 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。