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

The new PopupAssist allows to have a popup that follows your mouse #101

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

timunie
Copy link
Contributor

@timunie timunie commented Dec 22, 2019

Describe the changes you have made to improve this project
Introduced a new Helper-Class with an AttachedProperty similar to the existing ToolTipAssist. This allows a Popup to follow your curser.

How to use
To use this feature the user has to set at least two things:

  1. The PlacementTarget of the Popup: PlacementTarget="{Binding [Here goes the binding to the PlacementTarget]}"
  2. The AttachedProperty: controlzEx:PopupAssist.AutoMove="True"

If the user optionally captures the Mouse on the PlacementTarget the Popup will follow the mouse even outside of the PlacementTarget.

See it in Action
AutoMovingPopup

Closes
Closes #99

Happy coding and a Merry Christmas
Tim

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.

Automoving Popup
2 participants