Files
Apollon/Apollon.WPF/MainWindow.xaml
2022-08-13 13:51:03 +02:00

63 lines
2.5 KiB
XML

<Window x:Class="Apollon.WPF.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:local="clr-namespace:Apollon.WPF" xmlns:views="clr-namespace:Apollon.WPF.Views"
mc:Ignorable="d"
Title="Apollon Auswertung Bogen"
Height="680"
Width="1080"
WindowStartupLocation="CenterScreen"
Background="Transparent"
AllowsTransparency="True"
WindowStyle="None"
ResizeMode="CanResizeWithGrip">
<ScrollViewer HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<views:OverviewView Grid.RowSpan="2"
DataContext="{Binding OverviewViewModel}"
MouseDown="Window_MouseDown"/>
<WrapPanel HorizontalAlignment="Right"
Margin="0 0 5 0">
<Button Width="35"
Height="35"
Background="Transparent"
BorderBrush="Transparent"
Content="🗕"
FontSize="18"
FontWeight="Bold"
Foreground="#0000a0"
Click="Button_Min"/>
<Button Width="35"
Height="35"
Background="Transparent"
BorderBrush="Transparent"
Content="☐"
FontSize="18"
FontWeight="Bold"
Foreground="#0000a0"
Click="Button_Max"/>
<Button Width="35"
Height="35"
Background="Transparent"
BorderBrush="Transparent"
Content="🗙"
FontSize="18"
Foreground="#0000a0"
Click="Button_Exit"/>
</WrapPanel>
</Grid>
</ScrollViewer>
</Window>