<Window x:Class="Main"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="200" Width="300">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<TextBlock HorizontalAlignment="Center" Text="Left Section" VerticalAlignment="Center">
<TextBlock.LayoutTransform>
<RotateTransform Angle="90" />
</TextBlock.LayoutTransform>
</TextBlock>
<GridSplitter Grid.Column="1" HorizontalAlignment="Stretch" />
<Grid Grid.Column="3">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="5"/>
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" HorizontalAlignment="Center" Text="Top Section" VerticalAlignment="Center" />
<GridSplitter Grid.Row="1" HorizontalAlignment="Stretch" />
<TextBlock Grid.Row="2" HorizontalAlignment="Center" Text="Bottom Section" VerticalAlignment="Center" />
</Grid>
</Grid>
</Window>
|