DataGrid.CurrentCell Propriedade

Definição

Obtém ou define a célula que tem foco.

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

Valor de Propriedade

Informação sobre a célula que tem foco.

Observações

O valor devolvido é uma estrutura que fornece informação sobre a célula e o elemento de dados associado à célula. Não é uma referência real ao DataGridCell recipiente.

Para definir propriedades nas células selecionadas, pode definir um gatilho na CellStyle propriedade. Para obter mais informações, veja CellStyle.

Aplica-se a

Ver também