public void FocusItem (object objectItem) { int row = (int) objectItem; datagrid.Focus (); datagrid.CurrentCell = new SWF.DataGridCell (row, 0); }