GridResizeBehavior GridResizeBehavior GridResizeBehavior GridResizeBehavior Enum

Definition

Specifies the rows or columns that are resized by a GridSplitter control.

public enum class GridResizeBehavior
public enum GridResizeBehavior
type GridResizeBehavior = 
Public Enum GridResizeBehavior
Inheritance
GridResizeBehaviorGridResizeBehaviorGridResizeBehaviorGridResizeBehavior

Fields

BasedOnAlignment BasedOnAlignment BasedOnAlignment BasedOnAlignment 0

Space is redistributed based on the value of the HorizontalAlignment and VerticalAlignment properties.

CurrentAndNext CurrentAndNext CurrentAndNext CurrentAndNext 1

For a horizontal GridSplitter, space is redistributed between the row that is specified for the GridSplitter and the next row that is below it. For a vertical GridSplitter, space is redistributed between the column that is specified for the GridSplitter and the next column that is to the right.

PreviousAndCurrent PreviousAndCurrent PreviousAndCurrent PreviousAndCurrent 2

For a horizontal GridSplitter, space is redistributed between the row that is specified for the GridSplitter and the next row that is above it. For a vertical GridSplitter, space is redistributed between the column that is specified for the GridSplitter and the next column that is to the left.

PreviousAndNext PreviousAndNext PreviousAndNext PreviousAndNext 3

For a horizontal GridSplitter, space is redistributed between the rows that are above and below the row that is specified for the GridSplitter. For a vertical GridSplitter, space is redistributed between the columns that are to the left and right of the column that is specified for the GridSplitter.

Remarks

This enumeration is used to set the value of the ResizeBehavior property of a GridSplitter.

Applies to

See Also