Thanks for your answer. I also used this approach, unsuccesfully.
The property grid I am having issues with contains collection editors, which I have also redefined to be able to costomize them. They also contain property grids, nested. I was able to use the event you mentioned to trigger a command instead, on all property grids, and the expand was working relatively fine, however:
- the grids flicker 3-4 seconds when expanding all properties, on all levels
- if the object binded to the primary grid is very complex (if it has a lot of children with lists of children with lists of children), these expansions will result in a strage exception, similar to the one mentioned above
I was hoping to be able to have all properties expanded by default. And I don't understand why setting this property, IsExpanded, to true, has such a strange behaviour.
I also redefined the PropertyGridField, based on telerik xaml source code, until I reached the '+' toggle button, to eliminate any Visual effects, but still was not able to sort this out