Skip to content

Commit 86e2f18

Browse files
AndrewKeepCodingArlodotexe
authored andcommitted
Apply XAML styler
1 parent 09ea869 commit 86e2f18

4 files changed

Lines changed: 68 additions & 56 deletions

components/Primitives/tests/WrapPanel/HorizontalWrapPanelInsideParentWithInfinityWidth.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
<Page
2-
x:Class="PrimitivesTests.HorizontalWrapPanelInsideParentWithInfinityWidth"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:local="using:PrimitivesTests"
8-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
10-
mc:Ignorable="d">
1+
<Page x:Class="PrimitivesTests.HorizontalWrapPanelInsideParentWithInfinityWidth"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="using:PrimitivesTests"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
9+
mc:Ignorable="d">
1110

1211
<Grid>
1312
<Grid.ColumnDefinitions>
1413
<ColumnDefinition Width="Auto" />
1514
</Grid.ColumnDefinitions>
16-
<controls:WrapPanel Orientation="Horizontal" StretchChild="Last">
17-
<Button HorizontalAlignment="Stretch" Content="Child 1" />
18-
<Button HorizontalAlignment="Stretch" Content="Child 2" />
19-
<Button HorizontalAlignment="Stretch" Content="Last Child" />
15+
<controls:WrapPanel Orientation="Horizontal"
16+
StretchChild="Last">
17+
<Button HorizontalAlignment="Stretch"
18+
Content="Child 1" />
19+
<Button HorizontalAlignment="Stretch"
20+
Content="Child 2" />
21+
<Button HorizontalAlignment="Stretch"
22+
Content="Last Child" />
2023
</controls:WrapPanel>
2124
</Grid>
2225

components/Primitives/tests/WrapPanel/HorizontalWrapPanelInsideParentWithLimitedWidth.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
<Page
2-
x:Class="PrimitivesTests.HorizontalWrapPanelInsideParentWithLimitedWidth"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:local="using:PrimitivesTests"
8-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
10-
mc:Ignorable="d">
1+
<Page x:Class="PrimitivesTests.HorizontalWrapPanelInsideParentWithLimitedWidth"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="using:PrimitivesTests"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
9+
mc:Ignorable="d">
1110

1211
<Grid>
1312
<Grid.ColumnDefinitions>
1413
<ColumnDefinition Width="*" />
1514
</Grid.ColumnDefinitions>
16-
<controls:WrapPanel Orientation="Horizontal" StretchChild="Last">
17-
<Button HorizontalAlignment="Stretch" Content="Child 1" />
18-
<Button HorizontalAlignment="Stretch" Content="Child 2" />
19-
<Button HorizontalAlignment="Stretch" Content="Last Child" />
15+
<controls:WrapPanel Orientation="Horizontal"
16+
StretchChild="Last">
17+
<Button HorizontalAlignment="Stretch"
18+
Content="Child 1" />
19+
<Button HorizontalAlignment="Stretch"
20+
Content="Child 2" />
21+
<Button HorizontalAlignment="Stretch"
22+
Content="Last Child" />
2023
</controls:WrapPanel>
2124
</Grid>
2225

components/Primitives/tests/WrapPanel/VerticalWrapPanelInsideParentWithInfinityHeight.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
<Page
2-
x:Class="PrimitivesTests.VerticalWrapPanelInsideParentWithInfinityHeight"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:local="using:PrimitivesTests"
8-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
10-
mc:Ignorable="d">
1+
<Page x:Class="PrimitivesTests.VerticalWrapPanelInsideParentWithInfinityHeight"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="using:PrimitivesTests"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
9+
mc:Ignorable="d">
1110

1211
<Grid>
1312
<Grid.RowDefinitions>
1413
<RowDefinition Height="Auto" />
1514
</Grid.RowDefinitions>
16-
<controls:WrapPanel Orientation="Vertical" StretchChild="Last">
17-
<Button VerticalAlignment="Stretch" Content="Child 1" />
18-
<Button VerticalAlignment="Stretch" Content="Child 2" />
19-
<Button VerticalAlignment="Stretch" Content="Last Child" />
15+
<controls:WrapPanel Orientation="Vertical"
16+
StretchChild="Last">
17+
<Button VerticalAlignment="Stretch"
18+
Content="Child 1" />
19+
<Button VerticalAlignment="Stretch"
20+
Content="Child 2" />
21+
<Button VerticalAlignment="Stretch"
22+
Content="Last Child" />
2023
</controls:WrapPanel>
2124
</Grid>
2225

components/Primitives/tests/WrapPanel/VerticalWrapPanelInsideParentWithLimitedHeight.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
<Page
2-
x:Class="PrimitivesTests.VerticalWrapPanelInsideParentWithLimitedHeight"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
6-
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7-
xmlns:local="using:PrimitivesTests"
8-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
10-
mc:Ignorable="d">
1+
<Page x:Class="PrimitivesTests.VerticalWrapPanelInsideParentWithLimitedHeight"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="using:PrimitivesTests"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
9+
mc:Ignorable="d">
1110

1211
<Grid>
1312
<Grid.RowDefinitions>
1413
<RowDefinition Height="*" />
1514
</Grid.RowDefinitions>
16-
<controls:WrapPanel Orientation="Vertical" StretchChild="Last">
17-
<Button VerticalAlignment="Stretch" Content="Child 1" />
18-
<Button VerticalAlignment="Stretch" Content="Child 2" />
19-
<Button VerticalAlignment="Stretch" Content="Last Child" />
15+
<controls:WrapPanel Orientation="Vertical"
16+
StretchChild="Last">
17+
<Button VerticalAlignment="Stretch"
18+
Content="Child 1" />
19+
<Button VerticalAlignment="Stretch"
20+
Content="Child 2" />
21+
<Button VerticalAlignment="Stretch"
22+
Content="Last Child" />
2023
</controls:WrapPanel>
2124
</Grid>
2225

0 commit comments

Comments
 (0)