GridResizeDirection Wyliczenie
Definicja
Określa, czy GridSplitter kontrolka ponownie dystrybuuje miejsce między wierszami, czy między kolumnami.Specifies whether a GridSplitter control redistributes space between rows or between columns.
public enum class GridResizeDirection
public enum GridResizeDirection
type GridResizeDirection =
Public Enum GridResizeDirection
- Dziedziczenie
Pola
Auto | 0 | Miejsce jest rozpowszechniane na podstawie wartości HorizontalAlignment VerticalAlignment właściwości,, ActualWidth , i ActualHeight GridSplitter .Space is redistributed based on the values of the HorizontalAlignment, VerticalAlignment, ActualWidth, and ActualHeight properties of the GridSplitter. |
Columns | 1 | Miejsce jest rozpowszechniane między kolumnami.Space is redistributed between columns. |
Rows | 2 | Miejsce jest rozpowszechniane między wierszami.Space is redistributed between rows. |
Uwagi
Użyj tego wyliczenia, aby ustawić GridSplitter.ResizeDirection Właściwość.Use this enumeration to set the GridSplitter.ResizeDirection property.
Jak Auto
wartość wyliczenia wpływa na redystrybucję przestrzeni w formancie, GridSplitter zależy od następujących wartości właściwości:How the Auto
enumeration value affects the redistribution of space in a GridSplitter control depends on the following property values:
Jeśli HorizontalAlignment Właściwość nie jest ustawiona na HorizontalAlignment.Stretch , spacja jest redystrybuowana między kolumnami.If the HorizontalAlignment property is not set to HorizontalAlignment.Stretch, space is redistributed between columns.
Jeśli HorizontalAlignment Właściwość jest ustawiona na HorizontalAlignment.Stretch VerticalAlignment , a właściwość nie jest ustawiona na VerticalAlignment.Stretch , spacja jest rozpowszechniana między wierszami.If the HorizontalAlignment property is set to HorizontalAlignment.Stretch and the VerticalAlignment property is not set to VerticalAlignment.Stretch, space is redistributed between rows.
Jeśli spełnione są następujące warunki, miejsce jest ponownie dystrybuowane między kolumnami:If the following conditions are true, space is redistributed between columns:
HorizontalAlignmentUstawienie jest ustawione na HorizontalAlignment.Stretch .The HorizontalAlignment is set to HorizontalAlignment.Stretch.
VerticalAlignmentUstawienie jest ustawione na VerticalAlignment.Stretch .The VerticalAlignment is set to VerticalAlignment.Stretch.
ActualWidthJest mniejsze niż lub równe ActualHeight .The ActualWidth is less than or equal to the ActualHeight.
Jeśli spełnione są następujące warunki, miejsce jest rozpowszechniane między wierszami:If the following conditions are true, space is redistributed between rows:
HorizontalAlignmentjest ustawiony na HorizontalAlignment.Stretch .HorizontalAlignment is set to HorizontalAlignment.Stretch.
VerticalAlignmentjest ustawiony na VerticalAlignment.Stretch .VerticalAlignment is set to VerticalAlignment.Stretch.
ActualWidthjest większa niż ActualHeight .ActualWidth is greater than the ActualHeight.