Skip to content

Commit 71459d6

Browse files
Quick fix for Release mode in Sample App for new ItemsRepeater Layout
1 parent c25f25b commit 71459d6

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/StaggeredLayout/StaggeredLayoutPage.xaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:local="using:Microsoft.Toolkit.Uwp.SampleApp.SamplePages.StaggeredLayout"
66
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
89
mc:Ignorable="d"
910
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
1011

11-
<Grid>
12-
13-
</Grid>
12+
<Page.Resources>
13+
<controls:StaggeredLayout x:Key="WrapLayoutPlaceholder"/>
14+
</Page.Resources>
1415
</Page>

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WrapLayout/WrapLayoutPage.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
xmlns:local="using:Microsoft.Toolkit.Uwp.SampleApp.SamplePages.WrapLayout"
66
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8-
xmlns:winui="using:Microsoft.UI.Xaml.Controls"
8+
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
99
mc:Ignorable="d"
1010
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
1111

12-
<Grid>
13-
14-
</Grid>
12+
<Page.Resources>
13+
<controls:WrapLayout x:Key="WrapLayoutPlaceholder"/>
14+
</Page.Resources>
1515
</Page>

0 commit comments

Comments
 (0)