blob: f3c61a38bd4506269b4035b4d3f222f9bc7586db (
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
42
43
44
45
46
|
<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:global="clr-namespace:Tango.FSE.UI"
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="{Binding BuildProvider.BuildName}"
Height="720"
Width="1280"
WindowStartupLocation="CenterScreen"
TextElement.Foreground="{StaticResource FSE_PrimaryForegroundBrush}"
Background="{StaticResource FSE_PrimaryBackgroundBrush}"
TextElement.FontSize="{StaticResource FSE_DefaultFontSize}"
TitleCharacterCasing="Normal"
UseNoneWindowStyle="True"
EnableDWMDropShadow="True"
MinWidth="1280"
MinHeight="690"
BorderThickness="1"
BorderBrush="Gray"
FontFamily="{StaticResource flexo}"
WindowTitleBrush="{StaticResource PrimaryHueMidBrush}"
d:DataContext="{d:DesignInstance Type=global:MainWindowVM, IsDesignTimeCreatable=False}"
DataContext="{x:Static global:ViewModelLocator.MainWindowVM}">
<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>
|