I have a boolean property that changes the availability of 2 other properties based on the result. These properties need a PropertyGrid.Refresh in order to be seen or hidden, but each time I call the refresh, the SelectedItem is set to the top first item of the grid that is not a category property and I lose all expanded arrows.
Is there a way to keep the SelectedItem and the expanded arrows after the PropertyGrid.Refresh? Am I doing this correctly in the first place?
Thanks!