Επεξεργασία

Κοινή χρήση μέσω


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
GridResizeBehavior

Fields

Name Value Description
BasedOnAlignment 0

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

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 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 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 GridSplitter.ResizeBehavior property.

The behavior of the ResizeBehavior property with the BasedOnAlignment enumeration value is determined as follows:

Applies to

See also