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

Support using a custom RootElementFinder #349

Merged
merged 1 commit into from
Oct 17, 2020
Merged

Conversation

mpondo
Copy link

@mpondo mpondo commented Apr 13, 2020

This adds support for providing a custom RootElementFinder, rather than the static version that exists in the project.

We use GongDragDrop in a project that is also using AvalonDock. When floating windows, we found that the existing code is incorrectly finding a HwndHost as the root element due to how they setting it as the content here:
https://github.com/xceedsoftware/wpftoolkit/blob/master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs

We'd be able to work around that edge case (which doesn't quite seem correct), if we had a way to provide our own logic for the RootElementFinder for this particular instance.

@punker76 punker76 added this to the vNext milestone Apr 20, 2020
@punker76 punker76 changed the base branch from dev to develop August 15, 2020 11:03
@punker76 punker76 modified the milestones: vNext, 2.3.0 Oct 17, 2020
@punker76 punker76 merged commit a4c1c94 into punker76:develop Oct 17, 2020
@punker76
Copy link
Owner

@mpondo your changes have been merged, thanks for your contribution 👍

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

Successfully merging this pull request may close these issues.

2 participants