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

FlyoutService requires Button, but ButtonBase is sufficient #30

Closed
andrew-boyarshin opened this issue Feb 4, 2020 · 2 comments
Closed

Comments

@andrew-boyarshin
Copy link

Because of the unnecessary limitation, Flyout can't be attached to HyperlinkButton, which I expected to work OOB.

P.S. Thanks for your project, it really is the best WPF theme & control library out there!

@Kinnara
Copy link
Owner

Kinnara commented Feb 6, 2020

Thank you. The limitation is carried over from UWP, which this library attempts to align with API/behavior wise. As a workaround, you can use the FlyoutBase.AttachedFlyout attached property to associate a Flyout with the HyperlinkButton and call FlyoutBase.ShowAttachedFlyout method to display the flyout.

@andrew-boyarshin
Copy link
Author

@Kinnara oh, so that's UWP issue (which will obviously never get fixed, since that would break compat). Thanks for the workaround, you can close this issue if the goal of the project is to recreate UWP API 1:1.

@Kinnara Kinnara closed this as completed Feb 7, 2020
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

No branches or pull requests

2 participants