forked from CommunityToolkit/Windows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWrapPanelStretchLastChildInNewRow.xaml
More file actions
28 lines (26 loc) · 1.08 KB
/
WrapPanelStretchLastChildInNewRow.xaml
File metadata and controls
28 lines (26 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Page x:Class="PrimitivesTests.WrapPanelStretchLastChildInNewRow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:PrimitivesTests.WrapPanel"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
mc:Ignorable="d">
<Grid>
<controls:WrapPanel Width="132"
StretchChild="Last">
<Rectangle Width="44"
Height="44"
Fill="Red" />
<Rectangle Width="44"
Height="44"
Fill="Blue" />
<Rectangle Width="44"
Height="44"
Fill="Green" />
<Rectangle Height="44"
Fill="Orange" />
</controls:WrapPanel>
</Grid>
</Page>