ColumnDefinition.Width Propriedade

Definição

Obtém a largura calculada de um ColumnDefinition elemento, ou define o GridLength valor de uma coluna definida pelo ColumnDefinition.

public:
 property System::Windows::GridLength Width { System::Windows::GridLength get(); void set(System::Windows::GridLength value); };
public System.Windows.GridLength Width { get; set; }
member this.Width : System.Windows.GridLength with get, set
Public Property Width As GridLength

Valor de Propriedade

O GridLength que representa a largura da Coluna. O valor padrão é 1.0.

Observações

O padrão GridUnitType é Star.

Quando adicionas ou removes linhas ou colunas, o ActualWidth para todos ColumnDefinition os elementos e o ActualHeight de todos RowDefinition os elementos torna-se zero até Measure ser chamado.

Informação de Propriedade de Dependência

Iteme Value
Campo identificador WidthProperty
Propriedades dos metadados definidas como true None

Aplica-se a