Panel.HasLogicalOrientation 屬性

定義

取得值,這個值表示此 Panel 是否會以單一維度排列其子系。

protected public:
 virtual property bool HasLogicalOrientation { bool get(); };
protected internal virtual bool HasLogicalOrientation { get; }
member this.HasLogicalOrientation : bool
Protected Friend Overridable ReadOnly Property HasLogicalOrientation As Boolean

屬性值

如果 Panel 的方向是一個維度,則為 true,否則為 false

備註

在預先定義的面板元素中,只會 StackPaneltrue 回 ,因為其方向是單一維度。 的 Panel 子類別可以覆寫這個屬性。

適用於

另請參閱