-
Notifications
You must be signed in to change notification settings - Fork 698
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
Adding styles for the system XAML CommandBarFlyoutCommandBar #4593
Conversation
…dBar styles were in the style XAMLs instead of the theme resource XAMLs, which made it so they couldn't be derived from. - Fixed an issue where CornerRadius wasn't being properly animated. - Added styles for the WUXC version of CommandBarFlyoutCommandBar.
…ommandBarFlyoutStyle
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@llongley can you please resolve the conflicts ? |
…ommandBarFlyoutStyle
…ce it needs fixes there to work properly.
Conflicts resolved. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…ommandBarFlyoutStyle
… 19H1. Adding it back to avoid that assert.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving the named style from the xaml file to the resources file does have more effect than just making the resource exposable. It changes where the StaticResource invokations originate from, which changes the resource lookup behavior. This could potentially cause some resouce overrides which worked before this change to no longer work. But it seems like you need the based on behavior so I think we need to do this. |
Until we add the ability to retrieve the monitor bounds from a UI element, some apps are going to need to use the system XAML CommandBarFlyout to get that functionality, so this adds styles for that control's CommandBar in order to get the WinUI 2 experience from it.
While I was here, there were also two issues I needed to fix: