Skip to content

Add anchorable hide and close notifications to DockingManager - #411

Merged
Dirkster99 merged 3 commits into
Dirkster99:masterfrom
stewienj:Anchorable-Close-Notifications
Dec 25, 2022
Merged

Dirkster99 merged 3 commits into
Dirkster99:masterfrom
stewienj:Anchorable-Close-Notifications

Conversation

@stewienj

Copy link
Copy Markdown
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