programming-examples/c-sharp/Others/Docking left and right before top and bottom.cs

16 lines
507 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
Docking left and right before top and bottom
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Simple DockPanel"
Width="360" Height="200">
<DockPanel>
<Button DockPanel.Dock="Left">Left</Button>
<Button DockPanel.Dock="Right">Right</Button>
<Button DockPanel.Dock="Top">Top</Button>
<Button DockPanel.Dock="Bottom">Bottom</Button>
<Button>Fill</Button>
</DockPanel>
</Window>