2010-04-15 10 views

Odpowiedz

-1

Można spróbować czegoś podobnego

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

Ale nie jestem pewien, czy to będzie ustawić ostrość też. Jeśli nie, spróbuj wykonać następujące czynności:

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

if (cell != null) 
{ 
    cell.Focus(); 
} 
Powiązane problemy