GridResizeDirection Enum

Definition

Specifies whether a GridSplitter control redistributes space between rows or between columns.

C#
public enum GridResizeDirection
Inheritance
GridResizeDirection

Fields

Name Value Description
Auto 0

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.

Remarks

Use this enumeration to set the GridSplitter.ResizeDirection property.

How the Auto enumeration value affects the redistribution of space in a GridSplitter control depends on the following property values:

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also