-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Convert Tab's context flyout into a XAML control #7841
Comments
Funny enough, I tried to do this (just having the context menu in a .xaml file) and it was a total pain to hook up the event handlers without introducing another class just to implement the events that could come out of the context menu 😄 |
Damn, it's not as easy as exposing the |
Oh nvm I see, you tried it out by only having a XAML file? |
Yep. Just a XAML file w/ a flyout, then one with a usercontrol w/ a flyout, then then then |
Have you looked into using Xaml UserControls or CustomControls? |
@mdtauk most of our project is UserControls or CustomControls. |
Fair enough then lol |
What if we just passed a |
Tabs currently create their context flyout menu items in a big create function. It would be nice to convert that into a custom XAML control so that the more menu items we decide to add to the flyout, the easier it will be to manage. We should also design it in a way where different types of tabs (i.e. SettingsUI tab vs TerminalTab) can choose what menu items they would like to use.
The text was updated successfully, but these errors were encountered: