GridResizeBehavior Enumeração
Definição
Especifica as linhas ou colunas que são redimensionadas por um controle GridSplitter.Specifies the rows or columns that are resized by a GridSplitter control.
public enum class GridResizeBehavior
public enum GridResizeBehavior
type GridResizeBehavior =
Public Enum GridResizeBehavior
- Herança
Campos
BasedOnAlignment | 0 | O espaço é redistribuído com base no valor das propriedades HorizontalAlignment e VerticalAlignment.Space is redistributed based on the value of the HorizontalAlignment and VerticalAlignment properties. |
CurrentAndNext | 1 | Para um GridSplitter horizontal, o espaço é redistribuído entre a linha especificada para o GridSplitter e a próxima linha abaixo dela.For a horizontal GridSplitter, space is redistributed between the row that is specified for the GridSplitter and the next row that is below it. Para um GridSplitter vertical, o espaço é redistribuído entre a coluna especificada para o GridSplitter e a próxima coluna à direita.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 | Para um GridSplitter horizontal, o espaço é redistribuído entre a linha especificada para o GridSplitter e a próxima linha acima dela.For a horizontal GridSplitter, space is redistributed between the row that is specified for the GridSplitter and the next row that is above it. Para um GridSplitter vertical, o espaço é redistribuído entre a coluna especificada para o GridSplitter e a próxima coluna à esquerda.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 | Para um GridSplitter horizontal, o espaço é redistribuído entre as linhas que estão acima e abaixo da linha especificada para o GridSplitter.For a horizontal GridSplitter, space is redistributed between the rows that are above and below the row that is specified for the GridSplitter. Para um GridSplitter vertical, o espaço é redistribuído entre as colunas que estão à esquerda e à direita da coluna especificada para o 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. |
Comentários
Essa enumeração é usada para definir o valor da GridSplitter.ResizeBehavior propriedade.This enumeration is used to set the value of the GridSplitter.ResizeBehavior property.
O comportamento da ResizeBehavior Propriedade com o BasedOnAlignment
valor de enumeração é determinado da seguinte maneira:The behavior of the ResizeBehavior property with the BasedOnAlignment
enumeration value is determined as follows:
Se o valor da ResizeDirection Propriedade especificar que o espaço é redistribuído entre as linhas, a redistribuição seguirá estas diretrizes:If the value of the ResizeDirection property specifies that space is redistributed between rows, the redistribution follows these guidelines:
Quando a VerticalAlignment propriedade é definida como VerticalAlignment.Top, o espaço é redistribuído entre a linha especificada para o GridSplitter e a linha que está acima dessa linha.When the VerticalAlignment property is set to VerticalAlignment.Top, space is redistributed between the row that is specified for the GridSplitter and the row that is above that row.
Quando a VerticalAlignment propriedade é definida como VerticalAlignment.Bottom, o espaço é redistribuído entre a linha especificada para o GridSplitter e a linha abaixo dessa linha.When the VerticalAlignment property is set to VerticalAlignment.Bottom, space is redistributed between the row that is specified for the GridSplitter and the row that is below that row.
Quando a VerticalAlignment propriedade é definida como VerticalAlignment.Center, o espaço é redistribuído entre a linha acima e a linha abaixo da linha que é especificada para o GridSplitter.When the VerticalAlignment property is set to VerticalAlignment.Center, space is redistributed between the row that is above and the row that is below the row that is specified for the GridSplitter.
Quando a VerticalAlignment propriedade é definida como VerticalAlignment.Stretch, o espaço é redistribuído entre a linha acima e a linha abaixo da linha que é especificada para o GridSplitter.When the VerticalAlignment property is set to VerticalAlignment.Stretch, space is redistributed between the row that is above and the row that is below the row that is specified for the GridSplitter.
Se o valor da ResizeDirection Propriedade especificar que o espaço é redistribuído entre as colunas, a redistribuição seguirá estas diretrizes:If the value of the ResizeDirection property specifies that space is redistributed between columns, the redistribution follows these guidelines:
Quando a HorizontalAlignment propriedade é definida como HorizontalAlignment.Left, o espaço é redistribuído entre a coluna especificada para o GridSplitter e a coluna que está à esquerda.When the HorizontalAlignment property is set to HorizontalAlignment.Left, space is redistributed between the column that is specified for the GridSplitter and the column that is to the left.
Quando a HorizontalAlignment propriedade é definida como HorizontalAlignment.Right, o espaço é redistribuído entre a coluna especificada para o GridSplitter e a coluna que está à direita.When the HorizontalAlignment property is set to HorizontalAlignment.Right, space is redistributed between the column that is specified for the GridSplitter and the column that is to the right.
Quando a HorizontalAlignment propriedade é definida como HorizontalAlignment.Center, o espaço é redistribuído entre as colunas que estão à esquerda e à direita da coluna que é especificada para o GridSplitter.When the HorizontalAlignment property is set to HorizontalAlignment.Center, space is redistributed between the columns that are to the left and right of the column that is specified for the GridSplitter.
Quando a HorizontalAlignment propriedade é definida como VerticalAlignment.Stretch, o espaço é redistribuído entre as colunas que estão à esquerda e à direita da coluna que é especificada para o GridSplitter.When the HorizontalAlignment property is set to VerticalAlignment.Stretch, space is redistributed between the columns that are to the left and right of the column that is specified for the GridSplitter.