i have a question about property grid. when the form is shown i would like a group to be expand rather then collapsed. i have search a lot for that on the web and could not
(Re-mixing Simon's answer above and Eric's answer below...)
To expand all of the siblings of the SelectedGridItem:
public static void ExpandItemWithInitialExpandedAttribute(this PropertyGrid propertyGrid)
{
foreach (GridItem item in propertyGrid.SelectedGridItem.Parent.GridItems)
{
ExpandItemWithInitialExpandedAttribute(propertyGrid, item);
}
}