Share via


DataGrid.CurrentCell Proprietà

Definizione

Ottiene o imposta la cella con lo stato attivo.

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

Valore della proprietà

DataGridCellInfo

Informazioni sulla cella con lo stato attivo.

Commenti

Il valore restituito è una struttura che fornisce informazioni sulla cella e sull'elemento di dati associato alla cella. Non è un riferimento effettivo al DataGridCell contenitore.

Per impostare le proprietà sulle celle selezionate, è possibile impostare un trigger nella CellStyle proprietà . Per altre informazioni, vedere CellStyle.

Si applica a

Vedi anche