Panel.HasLogicalOrientationPublic 属性

定义

获取一个值,该值指示此 Panel 是否在单个维度中排列其子代。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

属性值

Boolean

如果 Panel 的方向是在一个维度上,则为 true;否则为 falsetrue if the orientation of the Panel is in one dimension; otherwise, false.

注解

在预定义的面板元素之间,仅 StackPanel 返回 true,因为其方向在单个维度中。Among predefined panel elements, only StackPanel returns true, because its orientation is in a single dimension.

适用于