Index: src/DeltaShell/DeltaShell.Gui/Forms/PropertyGridView/PropertyGridView.cs =================================================================== diff -u -rb96820752850219c096ba6efbf6e32fcbb4df9a6 -r3c14a77ea8f6632d7c6e29bebc964e15b7db6317 --- src/DeltaShell/DeltaShell.Gui/Forms/PropertyGridView/PropertyGridView.cs (.../PropertyGridView.cs) (revision b96820752850219c096ba6efbf6e32fcbb4df9a6) +++ src/DeltaShell/DeltaShell.Gui/Forms/PropertyGridView/PropertyGridView.cs (.../PropertyGridView.cs) (revision 3c14a77ea8f6632d7c6e29bebc964e15b7db6317) @@ -20,13 +20,7 @@ /// private delegate void ArgumentlessDelegate(); - /// - /// todo: This is still an unwanted dependency. PropertyGrid uses gui to subscribe to the SelectionChanged - /// delegate and in responce queries the gui.Selection - /// nicer? : custom public delegate in IPropertyGrid with selection as parameter - /// private readonly IGui gui; - private IObservable observable; public PropertyGridView(IGui gui) @@ -56,7 +50,7 @@ protected override void OnPropertySortChanged(EventArgs e) { - // Needed for maintaining property order + // Needed for maintaining property order (no support for both categorized and alphabethical sorting) if (PropertySort == PropertySort.CategorizedAlphabetical) { PropertySort = PropertySort.Categorized; @@ -211,6 +205,7 @@ { items.Add(parent); } + if (parent.Expanded) { foreach (GridItem child in parent.GridItems)