New to Telerik UI for WinForms? Download free 30-day trial

Accessing and setting the CurrentCell

In order to set the current cell of RadGridView, set the CurrentRow and CurrentColumn properties to respective row and column which cross at the desired cell:

this.radGridView1.CurrentRow = this.radGridView1.Rows[1];
this.radGridView1.CurrentColumn = this.radGridView1.Columns[1];
this.Text = this.radGridView1.CurrentCell.Value.ToString();

Me.RadGridView1.CurrentRow = Me.RadGridView1.Rows(1)
Me.RadGridView1.CurrentColumn = Me.RadGridView1.Columns(1)
Me.Text = Me.RadGridView1.CurrentCell.Value.ToString()

Figure 1: Changing the current row changes the forms text.

WinForms RadGridView Changing the current row changes the forms text

Accessing the current cell

To get an instance of the current cell simply create a variable of type GridDataCellElement and assign to it the current cell:

GridDataCellElement cell = radGridView1.CurrentCell;

Dim cell As GridDataCellElement = Me.RadGridView1.CurrentCell

The CurrentCell property can be null when you don't have CurrentRow or CurrentColumn.

See Also

In this article