What would you like to be added? 💡
Uno.UI ships WinUI 2 "v1" copies of these styles, used when XamlControlsResources is not merged:
Controls/InfoBar/InfoBar_v1.xaml
InfoBar_themeresources_v1.xaml
Controls/TreeView/TreeViewItem_v1.xaml
TreeView_themeresources_v1.xaml
RatingControl_v1.xaml
RatingControl_themeresources_v1.xaml
Replace them with the MUX winui3/release/2.5.1 versions, the same ones Uno.UI.FluentTheme/Resources/PriorityDefault already carries, or drop the fallback.
Why is this needed? 🤔
The v1 copies differ a lot from 2.5.1 (InfoBar_v1 differs on 185 of 186 lines):
- InfoBar severity brushes are hard-coded (
#FDE7E9/#FFF4CE/#DFF6DD/#F2F2F2) instead of SystemFillColor*BackgroundBrush.
InfoBarBorderThickness is 0 instead of 1.
MUX_TreeViewItemStyle is BasedOn ListViewItemExpanded.
Apps without XamlControlsResources therefore get a look WinUI doesn't produce.
Renderer 🎨
For which platforms 📱💻🖥️
All Skia targets
Anything else we need to know? 💬
Follow-up from #21513 (verbatim WinUI Generic.xaml), which deliberately left this out of scope. Compare against winui3/release/2.5.1 in microsoft-ui-xaml (src/controls/dev/...).
What would you like to be added? 💡
Uno.UI ships WinUI 2 "v1" copies of these styles, used when
XamlControlsResourcesis not merged:Controls/InfoBar/InfoBar_v1.xamlInfoBar_themeresources_v1.xamlControls/TreeView/TreeViewItem_v1.xamlTreeView_themeresources_v1.xamlRatingControl_v1.xamlRatingControl_themeresources_v1.xamlReplace them with the MUX
winui3/release/2.5.1versions, the same onesUno.UI.FluentTheme/Resources/PriorityDefaultalready carries, or drop the fallback.Why is this needed? 🤔
The v1 copies differ a lot from 2.5.1 (InfoBar_v1 differs on 185 of 186 lines):
#FDE7E9/#FFF4CE/#DFF6DD/#F2F2F2) instead ofSystemFillColor*BackgroundBrush.InfoBarBorderThicknessis 0 instead of 1.MUX_TreeViewItemStyleis BasedOnListViewItemExpanded.Apps without
XamlControlsResourcestherefore get a look WinUI doesn't produce.Renderer 🎨
For which platforms 📱💻🖥️
All Skia targets
Anything else we need to know? 💬
Follow-up from #21513 (verbatim WinUI
Generic.xaml), which deliberately left this out of scope. Compare againstwinui3/release/2.5.1in microsoft-ui-xaml (src/controls/dev/...).