GridResizeDirection 枚举

定义

指定 GridSplitter 控件是在行之间还是在列之间重新分配空间。Specifies whether a GridSplitter control redistributes space between rows or between columns.

public enum class GridResizeDirection
public enum GridResizeDirection
type GridResizeDirection = 
Public Enum GridResizeDirection
继承
GridResizeDirection

字段

Auto 0

根据 HorizontalAlignmentVerticalAlignmentActualWidthActualHeightGridSplitter 属性的值重新分配空间。Space is redistributed based on the values of the HorizontalAlignment, VerticalAlignment, ActualWidth, and ActualHeight properties of the GridSplitter.

Columns 1

在列之间重新分配空间。Space is redistributed between columns.

Rows 2

在行之间重新分配空间。Space is redistributed between rows.

注解

使用此枚举来设置GridSplitter.ResizeDirection属性。Use this enumeration to set the GridSplitter.ResizeDirection property.

如何Auto枚举值会影响重新分发中的空间GridSplitter控件取决于以下的属性值:How the Auto enumeration value affects the redistribution of space in a GridSplitter control depends on the following property values:

适用于

另请参阅