GridResizeBehavior Enumeration
TOC
Collapse the table of content
Expand the table of content

GridResizeBehavior Enumeration

 

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum class GridResizeBehavior

Member nameDescription
BasedOnAlignment

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

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft