You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The other descendants of LayoutElement notify when their Children and ChildrenCount properties change, but LayoutRoot does not.
Adding RaisePropertyChanged("Children"); RaisePropertyChanged("ChildrenCount");
to _floatingWindows_CollectionChanged and _hiddenAnchorables_CollectionChanged remedies the problem. A better solution would probably be to have FloatingWindows and Hidden be types that implement ILayoutContainer, which would make the code better reflect the XML serialization.
The text was updated successfully, but these errors were encountered:
cfneese
changed the title
LayoutRoot doesn't notify change for Children or ChildrenCount
AvalonDock 3.3.0 LayoutRoot doesn't notify change for Children or ChildrenCount
Apr 20, 2018
The other descendants of LayoutElement notify when their Children and ChildrenCount properties change, but LayoutRoot does not.
Adding
RaisePropertyChanged("Children");
RaisePropertyChanged("ChildrenCount");
to
_floatingWindows_CollectionChanged
and_hiddenAnchorables_CollectionChanged
remedies the problem. A better solution would probably be to have FloatingWindows and Hidden be types that implement ILayoutContainer, which would make the code better reflect the XML serialization.The text was updated successfully, but these errors were encountered: