Skip to content

Commit

Permalink
Regenerated 8.1 docs from CommunityToolkit/Windows@9c7642f
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe authored and michael-hawker committed Aug 21, 2024
1 parent c2bb98c commit 68e147c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/windows/Primitives/DockPanel.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ You can set DockPanel LastChildFill property to true if you want the last item a

```xaml
<Page ...
xmlns:controls="using:CommunityToolkit.WinUI.Controls"/>

<controls:DockPanel Name="SampleDockPanel" Margin="2" Background="LightGray" LastChildFill="False" >
<StackPanel Height="100" controls:DockPanel.Dock="Top" Background="Black"></StackPanel>
<StackPanel Width="100" controls:DockPanel.Dock="Left" Background="Red"></StackPanel>
<StackPanel Height="100" controls:DockPanel.Dock="Bottom" Background="Green"></StackPanel>
<StackPanel Width="100" controls:DockPanel.Dock="Right" Background="Blue"></StackPanel>
</controls:DockPanel>
xmlns:controls="using:CommunityToolkit.WinUI.Controls">

<controls:DockPanel Name="SampleDockPanel" Margin="2" Background="LightGray" LastChildFill="False" >
<StackPanel Height="100" controls:DockPanel.Dock="Top" Background="Black"></StackPanel>
<StackPanel Width="100" controls:DockPanel.Dock="Left" Background="Red"></StackPanel>
<StackPanel Height="100" controls:DockPanel.Dock="Bottom" Background="Green"></StackPanel>
<StackPanel Width="100" controls:DockPanel.Dock="Right" Background="Blue"></StackPanel>
</controls:DockPanel>

</Page>
```

0 comments on commit 68e147c

Please sign in to comment.