編輯

共用方式為


Panel.HasLogicalOrientationPublic Property

Definition

Gets a value that indicates whether this Panel arranges its descendants in a single dimension.

public:
 property bool HasLogicalOrientationPublic { bool get(); };
public bool HasLogicalOrientationPublic { get; }
member this.HasLogicalOrientationPublic : bool
Public ReadOnly Property HasLogicalOrientationPublic As Boolean

Property Value

true if the orientation of the Panel is in one dimension; otherwise, false.

Remarks

Among predefined panel elements, only StackPanel returns true, because its orientation is in a single dimension.

Applies to