We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff96329 commit 955d434Copy full SHA for 955d434
CommunityToolkit.WinUI.UI.Controls.Core/TabbedCommandBar/TabbedCommandBar.cs
@@ -2,6 +2,7 @@
2
// The .NET Foundation licenses this file to you under the MIT license.
3
// See the LICENSE file in the project root for more information.
4
5
+using System;
6
using System.Linq;
7
using Microsoft.UI.Xaml;
8
using Microsoft.UI.Xaml.Controls;
@@ -37,6 +38,9 @@ public TabbedCommandBar()
37
38
{
39
DefaultStyleKey = typeof(TabbedCommandBar);
40
41
+ // WinUI3 workaround for https://github.com/microsoft/microsoft-ui-xaml/issues/3502
42
+ this.DefaultStyleResourceUri = new Uri("ms-appx:///CommunityToolkit.WinUI.UI.Controls.Core/Themes/Generic.xaml");
43
+
44
SelectionChanged += SelectedItemChanged;
45
}
46
0 commit comments