aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/MainWindow.xaml
blob: 6d54b64108b510b9990c76243ed5881c0aa4ea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<mahapps:MetroWindow x:Class="Tango.FSE.UI.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:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:views="clr-namespace:Tango.FSE.UI.Views"
        xmlns:local="clr-namespace:Tango.FSE.UI"
        xmlns:commonControls="clr-namespace:Tango.FSE.Common.Controls;assembly=Tango.FSE.Common"
        mc:Ignorable="d"
        Title="Tango FSE" Height="720" Width="1280"
        WindowStartupLocation="CenterScreen"
        TextElement.Foreground="{StaticResource FSE_PrimaryForegroundBrush}"
        Background="{StaticResource FSE_PrimaryBackgroundBrush}"
        TextElement.FontWeight="Medium"
        TextElement.FontSize="{StaticResource FSE_DefaultFontSize}"
        TitleCharacterCasing="Normal" UseNoneWindowStyle="True" EnableDWMDropShadow="True" MinWidth="800" MinHeight="600" BorderThickness="1" BorderBrush="Gray" FontFamily="{StaticResource flexo}" WindowTitleBrush="{StaticResource PrimaryHueMidBrush}">

    <Grid>
        <views:MainView/>

        <Grid VerticalAlignment="Top" Height="40">
            <DockPanel>
                <UniformGrid DockPanel.Dock="Right" Columns="3" HorizontalAlignment="Right" Width="130">
                    <commonControls:IconButton Padding="8" x:Name="btnMinimize" Icon="WindowMinimize" />
                    <commonControls:IconButton Padding="8" x:Name="btnMaximize" Icon="WindowMaximize" />
                    <commonControls:IconButton Padding="8" x:Name="btnClose" Icon="WindowClose" />
                </UniformGrid>
                <Grid Background="Transparent" x:Name="gridTitle" Margin="170 0 0 0" Height="25" VerticalAlignment="Top"></Grid>
            </DockPanel>
        </Grid>
    </Grid>
</mahapps:MetroWindow>