5
5
xmlns : controls =" using:Microsoft.Toolkit.Uwp.UI.Controls"
6
6
xmlns : helpers =" using:UnitTests.Extensions.Helpers"
7
7
xmlns : interactivity =" using:Microsoft.Xaml.Interactivity"
8
+ xmlns : muxc =" using:Microsoft.UI.Xaml.Controls"
8
9
xmlns : ui =" using:Microsoft.Toolkit.Uwp.UI"
9
10
xmlns : unitTestExtensions =" using:UnitTests.Extensions"
10
11
RequestedTheme =" Light" >
11
12
<Application .Resources>
12
-
13
- <!-- Workarounds for .NET Native issue in unit tests -->
14
- <ui : EnumValuesExtension x : Key =" DummyExtension" />
15
-
16
- <unitTestExtensions : Animal x : Key =" Animal" >Cat</unitTestExtensions : Animal >
17
-
18
- <CommandBar x : Key =" DummyCommandBar" >
19
- <AppBarButton Icon =" {ui:FontIcon Glyph= }" />
20
- <AppBarButton Icon =" {ui:SymbolIcon Symbol=Play}" />
21
- </CommandBar >
22
-
23
- <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl1"
24
- IconSource =" {ui:FontIconSource Glyph= }" />
25
-
26
- <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl2"
27
- IconSource =" {ui:SymbolIconSource Symbol=Play}" />
28
-
29
- <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl3"
30
- IconSource =" {ui:BitmapIconSource Source=/Assets/StoreLogo.png}" />
31
-
32
- <Button x : Key =" DummyButton" >
33
- <Button .Flyout>
34
- <MenuFlyout >
35
- <MenuFlyoutItem Icon =" {ui:BitmapIcon Source=/Assets/StoreLogo.png}" />
36
- </MenuFlyout >
37
- </Button .Flyout>
38
- </Button >
39
-
40
- <TextBox x : Key =" DummyTextBox" >
41
- <interactivity : Interaction .Behaviors>
42
- <behaviors : AutoSelectBehavior />
43
- </interactivity : Interaction .Behaviors>
44
- </TextBox >
45
-
46
- <controls : ConstrainedBox x : Key =" TestConstrainedBox" />
47
- <controls : UniformGrid x : Key =" TestUniformGrid" />
48
- <controls : WrapPanel x : Key =" TestWrapPanel" />
49
- <ui : NullableBoolExtension x : Key =" nullableBool" />
50
-
51
- <helpers : ObjectWithNullableBoolProperty x : Key =" objectWithNullableBoolProperty" />
52
-
13
+ <muxc : XamlControlsResources >
14
+ <muxc : XamlControlsResources .MergedDictionaries>
15
+ <ResourceDictionary >
16
+ <!-- Workarounds for .NET Native issue in unit tests -->
17
+ <ui : EnumValuesExtension x : Key =" DummyExtension" />
18
+
19
+ <unitTestExtensions : Animal x : Key =" Animal" >Cat</unitTestExtensions : Animal >
20
+
21
+ <CommandBar x : Key =" DummyCommandBar" >
22
+ <AppBarButton Icon =" {ui:FontIcon Glyph= }" />
23
+ <AppBarButton Icon =" {ui:SymbolIcon Symbol=Play}" />
24
+ </CommandBar >
25
+
26
+ <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl1"
27
+ IconSource =" {ui:FontIconSource Glyph= }" />
28
+
29
+ <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl2"
30
+ IconSource =" {ui:SymbolIconSource Symbol=Play}" />
31
+
32
+ <unitTestExtensions : MockSwipeItem x : Key =" DummySwipeControl3"
33
+ IconSource =" {ui:BitmapIconSource Source=/Assets/StoreLogo.png}" />
34
+
35
+ <Button x : Key =" DummyButton" >
36
+ <Button .Flyout>
37
+ <MenuFlyout >
38
+ <MenuFlyoutItem Icon =" {ui:BitmapIcon Source=/Assets/StoreLogo.png}" />
39
+ </MenuFlyout >
40
+ </Button .Flyout>
41
+ </Button >
42
+
43
+ <TextBox x : Key =" DummyTextBox" >
44
+ <interactivity : Interaction .Behaviors>
45
+ <behaviors : AutoSelectBehavior />
46
+ </interactivity : Interaction .Behaviors>
47
+ </TextBox >
48
+
49
+ <controls : ConstrainedBox x : Key =" TestConstrainedBox" />
50
+ <controls : UniformGrid x : Key =" TestUniformGrid" />
51
+ <controls : WrapPanel x : Key =" TestWrapPanel" />
52
+ <ui : NullableBoolExtension x : Key =" nullableBool" />
53
+
54
+ <helpers : ObjectWithNullableBoolProperty x : Key =" objectWithNullableBoolProperty" />
55
+ </ResourceDictionary >
56
+ </muxc : XamlControlsResources .MergedDictionaries>
57
+ </muxc : XamlControlsResources >
53
58
</Application .Resources>
54
- </Application >
59
+ </Application >
0 commit comments