Skip to content

Commit 449cfea

Browse files
mael8Arlodotexe
authored andcommitted
Update DockPanel.md
1 parent 217f05d commit 449cfea

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

components/Primitives/samples/DockPanel.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ You can set DockPanel LastChildFill property to true if you want the last item a
2121

2222
```xaml
2323
<Page ...
24-
xmlns:controls="using:CommunityToolkit.WinUI.Controls"/>
24+
xmlns:controls="using:CommunityToolkit.WinUI.Controls">
2525

26-
<controls:DockPanel Name="SampleDockPanel" Margin="2" Background="LightGray" LastChildFill="False" >
27-
<StackPanel Height="100" controls:DockPanel.Dock="Top" Background="Black"></StackPanel>
28-
<StackPanel Width="100" controls:DockPanel.Dock="Left" Background="Red"></StackPanel>
29-
<StackPanel Height="100" controls:DockPanel.Dock="Bottom" Background="Green"></StackPanel>
30-
<StackPanel Width="100" controls:DockPanel.Dock="Right" Background="Blue"></StackPanel>
31-
</controls:DockPanel>
26+
<controls:DockPanel Name="SampleDockPanel" Margin="2" Background="LightGray" LastChildFill="False" >
27+
<StackPanel Height="100" controls:DockPanel.Dock="Top" Background="Black"></StackPanel>
28+
<StackPanel Width="100" controls:DockPanel.Dock="Left" Background="Red"></StackPanel>
29+
<StackPanel Height="100" controls:DockPanel.Dock="Bottom" Background="Green"></StackPanel>
30+
<StackPanel Width="100" controls:DockPanel.Dock="Right" Background="Blue"></StackPanel>
31+
</controls:DockPanel>
32+
33+
</Page>
3234
```

0 commit comments

Comments
 (0)