aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/MainWindow.xaml
blob: 0b602ea14921ab3304be5f3f74012696431d8494 (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
35
36
37
38
39
40
41
<mahapps:MetroWindow x:Class="Tango.FSE.LogViewer.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:commonControls="clr-namespace:Tango.FSE.Common.Controls;assembly=Tango.FSE.Common"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:views="clr-namespace:Tango.FSE.LogViewer.UI.Views"
        xmlns:local="clr-namespace:Tango.FSE.LogViewer.UI"
        mc:Ignorable="d"
        Title="Tango FSE - Log Viewer" 
        Height="720" 
        Width="1280"
        WindowStartupLocation="CenterScreen"
        TextElement.Foreground="{StaticResource FSE_PrimaryForegroundBrush}"
        Foreground="{StaticResource FSE_PrimaryForegroundBrush}"
        Background="{StaticResource FSE_PrimaryBackgroundBrush}"
        TextElement.FontSize="{StaticResource FSE_DefaultFontSize}"
        TitleCharacterCasing="Normal"
        UseNoneWindowStyle="true" 
        EnableDWMDropShadow="True" 
        MinWidth="600" 
        MinHeight="400" 
        BorderThickness="1" 
        BorderBrush="Gray" 
        FontFamily="{StaticResource flexo}" 
        WindowTitleBrush="{StaticResource FSE_PrimaryBackgroundBrush}">
    <Grid x:Name="mainGrid">
        <views:MainView/>
        <Grid VerticalAlignment="Top" Height="40">
            <DockPanel>
                <UniformGrid DockPanel.Dock="Right" Columns="3" HorizontalAlignment="Right" Width="130" Visibility="{Binding ApplicationManager.DisplayWindowControls,Converter={StaticResource BooleanToVisibilityConverter}}">
                    <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>