compose_sample/TestApplication/MainWindowGrid.axaml

41 lines
1.1 KiB
Plaintext
Raw Normal View History

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="TestApplication.MainWindowGrid"
Title="MainWindowGrid">
<Grid RowDefinitions="40, * ,40" ColumnDefinitions="100, * , 100" ShowGridLines="True" Background="White">
<StackPanel
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="3"
Name="TopBar"
Background="Aqua"/>
<StackPanel
Name="BottomBar"
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="3"
Background="Bisque"
DockPanel.Dock="Bottom"/>
<StackPanel
Name="LeftBar"
Grid.Row="1"
Grid.Column="0"
Background="Purple"
DockPanel.Dock="Left"/>
<StackPanel
Name="RightBar"
Grid.Row="1"
Grid.Column="2"
Background="Green"
DockPanel.Dock="Right"/>
<StackPanel
Grid.Row="1"
Grid.Column="1"
Name="Content"
Background="White"/>
</Grid>
</Window>