if (this.grid.ActiveRow != null) this.someTextControl.Text = this.grid.ActiveRow.Cells[0].Value.ToString();