-
Hello again, I'm trying to use a Flyout inside a tabitem but I struggling to understand how it works in xaml. For instance, I have this xaml that works:
However, from the documentation I see that to add a flyout to the xaml I need to add:
What I am struggling with is how to properly use the mah:MetroWindow Vs Controls:MetroWindow.Flyout>. How to use one or another or one into another. Better said, I would like to learn how to use MahApps resources proficiently inside an existing project. Where can I find documentation on this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
for instance I'm following this: but the way xaml is used is different than in here: |
Beta Was this translation helpful? Give feedback.
-
Hi Unfortunately you cannot place a Flyout in a TabControl. It needs to be inside MetroWindow. The prefix "mah:" or "Controls:" is defined in your If you want a good example download the source and test the demo App. It is open source so you can see what is going on and test different things. Happy coding |
Beta Was this translation helpful? Give feedback.
Hi
Unfortunately you cannot place a Flyout in a TabControl. It needs to be inside MetroWindow. The prefix "mah:" or "Controls:" is defined in your
xmlns
and can be changed. You can name it how you want, just make sure to be consistent in your file.If you want a good example download the source and test the demo App. It is open source so you can see what is going on and test different things.
Happy coding
Tim