<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"
Width="400"
Height="600"
CanResize="False"
WindowStartupLocation="CenterScreen"
WindowState="Normal"
Background="#0D1B2A"
x:Class="Calculator.MainWindow"
Title="Calculator"
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaTitleBarHeightHint="-1"
ExtendClientAreaChromeHints="NoChrome"
PointerPressed="DragMove">
<Grid ShowGridLines="True" RowDefinitions="1.5*,3*,15*">
<Grid Grid.Row="0" ColumnDefinitions="*, Auto, 50">
<TextBlock Grid.Column="0" Text="Calculator" />
<Button Grid.Column="2" Click="CloseWindow" Styles="{StaticResource CloseButtonStyle}"/>
</Grid>
<Grid Grid.Row="1" />
<Grid Grid.Row="2" />
</Grid>
</Window>
<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"
Width="400"
Height="600"
CanResize="False"
WindowStartupLocation="CenterScreen"
WindowState="Normal"
Background="#0D1B2A"
x:Class="Calculator.MainWindow"
Title="Calculator"
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaTitleBarHeightHint="-1"
ExtendClientAreaChromeHints="NoChrome"
PointerPressed="DragMove">
<Grid ShowGridLines="True" RowDefinitions="1.5*,3*,15*">
<Grid Grid.Row="0" ColumnDefinitions="*, Auto, 50">
<TextBlock Grid.Column="0" Text="Calculator" />
<Button Grid.Column="2" Click="CloseWindow" Styles="{StaticResource CloseButtonStyle}"/>
</Grid>
<Grid Grid.Row="1" />
<Grid Grid.Row="2" />
</Grid>
</Window>