compose_sample/TestApplication/MainWindowDockPanel.axaml

51 lines
1.3 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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.MainWindowDockPanel"
Title="TestApplication">
<DockPanel>
<StackPanel
Name="TopBar"
Height="40"
Background="Aqua"
DockPanel.Dock="Top">
<TextBlock HorizontalAlignment="Center" FontFamily="">
Топ бар
</TextBlock>
</StackPanel>
<StackPanel
Name="BottomBar"
Height="40"
Background="Bisque"
DockPanel.Dock="Bottom">
<TextBlock HorizontalAlignment="Center">
Ботом бар
</TextBlock>
</StackPanel>
<StackPanel
Name="LeftBar"
Width="100"
Background="Purple"
DockPanel.Dock="Left">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">
Лефт бар
</TextBlock>
</StackPanel>
<StackPanel
Name="RightBar"
Width="100"
Background="Green"
DockPanel.Dock="Right">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">
Райт бар
</TextBlock>
</StackPanel>
<StackPanel
Name="Content"
Background="White"/>
</DockPanel>
</Window>