Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AvalonDock 3.3.0 LayoutRoot doesn't notify change for Children or ChildrenCount #1313

Open
cfneese opened this issue Apr 20, 2018 · 1 comment

Comments

@cfneese
Copy link

cfneese commented 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.

@cfneese 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
@XceedBoucherS
Copy link
Collaborator

Ok Thank you,
We will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants