StackPanel.HasLogicalOrientation 屬性

定義

取得值,這個值表示 StackPanel 是否具有水平或垂直方向。

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

屬性值

這個屬性永遠會傳回 true

備註

此屬性一律會傳 true 回 ,因為 StackPanel 必須具有垂直或水準方向。

適用於