I'm looking for a good way to programmatically initiate editing on a System.Windows.Forms.PropertyGrid. I can select the GridItem that I want, but that doesn't move the cursor into the edit field.
A:
Did you try sending the TAB key?
private void propertyGrid_SelectedGridItemChanged(object sender, SelectedGridItemChangedEventArgs e)
{
SendKeys.Send("{TAB}");
}
Nicolas Cadilhac
2009-07-28 14:01:48