tags:

views:

113

answers:

0

Hello. In WinForms it is such a thing like:

if (dataGridViewControll.SelectedCells.Count > 0)

    EditorForm.ID = dataGridViewControll.Rows[dataGridViewControll.SelectedCells[0].RowIndex].Cells[0].Value.ToString();

Does anyone knows how to do such a tricks in WPF grid?I mean SelectedCells and SelectedCells[0].RowIndex].Cells[0].Value.