File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
components/Primitives/samples Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff 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```
You can’t perform that action at this time.
0 commit comments