2010-04-15 25 views

Respuesta

-1

Usted podría intentar algo así como

this.SelectRowCell(this.Items.Count - 1, 0); 

Pero no estoy seguro de si eso va a ajustar el enfoque también. Si no, intente lo siguiente:

DataGridCell cell = this.GetCell(this.Items.Count - 1, 0); 

if (cell != null) 
{ 
    cell.Focus(); 
} 
Cuestiones relacionadas