programming-examples/c-sharp/Others/Grid With Splitter.cs
2019-11-15 12:59:38 +01:00

20 lines
601 B
C#

Grid With Splitter
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="FunWithPanels" Height="240" Width="600">
<Grid Background ="Blue">
<Grid.ColumnDefinitions>
<ColumnDefinition Width ="Auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Label Name="lblLeft" Background ="GreenYellow" Grid.Column="0" Content ="Left!"/>
<GridSplitter Grid.Column ="0" Width ="8"/>
<Label Name="lblRight" Grid.Column ="1" Content ="Right!"/>
</Grid>
</Window>