public bool FocusColumn(int column)
{
if (Grid.Columns.Count > column)
{
for (int r = 0; r < Grid.Rows.Count; r++)
{
Position newFocus = new Position(r, column);
if (Grid.Controller.CanReceiveFocus(new CellContext(Grid, newFocus), EventArgs.Empty))
return Focus(newFocus, true);
}
return Focus(Position.Empty, true);
}
else
return Focus(Position.Empty, true);
}