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

ContextRequest without Flyout #106

Open
VisualAlf opened this issue Feb 10, 2025 · 2 comments · May be fixed by #108
Open

ContextRequest without Flyout #106

VisualAlf opened this issue Feb 10, 2025 · 2 comments · May be fixed by #108
Labels
enhancement New feature or request

Comments

@VisualAlf
Copy link

My usecase demands that I show a Window when requested by user's Right-Mouse-Click, while current solution forces me to use a Flyout instead. I could use a Flyout with a single menuitem that invokes my window but users don't like that.
A Workaround is to define an (empty) Dummy-Flyout and set the Handled Flag in the Eventhandler in order to suppress the Flyout.ShowAt().

Movement of 1 statement would provide what I need:

Image

The Flyout parameter in the FlyoutEventArgs obviously needs to be nullable then.
Btw. same applies to ShowCellContext().

@VisualAlf VisualAlf added the enhancement New feature or request label Feb 10, 2025
@w-ahmad
Copy link
Owner

w-ahmad commented Feb 10, 2025

Looks like a good move, would you like to open a PR for this?

@VisualAlf
Copy link
Author

VisualAlf commented Feb 10, 2025

=> #108
Hope all's ok...

@VisualAlf VisualAlf linked a pull request Feb 11, 2025 that will close this issue
@w-ahmad w-ahmad linked a pull request Feb 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants