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

Add anchorable hide and close notifications to DockingManager #411

Merged
merged 3 commits into from
Dec 25, 2022

Conversation

stewienj
Copy link
Contributor

This change adds close and hide events to DockingManager for anchorables. This brings anchorables inline with documents (LayoutDocument) as documents already have this functionality in DockingManager.
The reason for this change is so I can use a custom PrismLibrary region adapter for DockingManager. A PrismLibrary region adapter needs to track when controls are visibly removed from a parent, which in this case is DockingManager. Sample region adapters for other parent panels can be found in this repo.
This code is a port from a custom version of the old AvalonDock that I have been using with PrismLibrary for many years. I have added unit tests for the new functionality.

@Dirkster99 Dirkster99 merged commit 4bcb11b into Dirkster99:master Dec 25, 2022
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

Successfully merging this pull request may close these issues.

2 participants