GridResizeBehavior Enumeration
Specifies the rows or columns that are resized by a GridSplitter control.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| BasedOnAlignment | Space is redistributed based on the value of the HorizontalAlignment and VerticalAlignment properties. If the value of the ResizeDirection property specifies that space is redistributed between rows, the redistribution follows these guidelines:
If the value of the ResizeDirection property specifies that space is redistributed between columns, the redistribution follows these guidelines:
| |
| CurrentAndNext | 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 | 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 | 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. |
This enumeration is used to set the value of the ResizeBehavior property of a GridSplitter.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.