blob: ef10527e40b47ae403df887ad2d541343192c1fc (
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
|
<UserControl x:Class="Tango.FSE.LogViewer.UI.Views.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:global="clr-namespace:Tango.FSE.LogViewer.UI"
xmlns:vm="clr-namespace:Tango.FSE.LogViewer.UI.ViewModels"
xmlns:uiControls="clr-namespace:Tango.FSE.UI.Controls;assembly=Tango.FSE.UI"
xmlns:local="clr-namespace:Tango.FSE.LogViewer.UI.Views"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}"
DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<Grid>
<DockPanel>
<Grid Height="40" DockPanel.Dock="Top" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}">
<StackPanel Margin="5 0 0 0" HorizontalAlignment="Left" Orientation="Horizontal">
<Image Source="{StaticResource FSE_Machine_Full}" RenderOptions.BitmapScalingMode="Fant" Margin="8" />
<TextBlock FontWeight="SemiBold" Margin="5 0 0 0" VerticalAlignment="Center" Text="{Binding RelativeSource={RelativeSource AncestorType=Window},Path=Title,FallbackValue='Tango FSE - Log Viewer'}"></TextBlock>
</StackPanel>
<Image Source="{StaticResource FSE_Twine_Logo_Colored}" RenderOptions.BitmapScalingMode="Fant" HorizontalAlignment="Center" Margin="5"></Image>
<Polygon HorizontalAlignment="Right" Points="200,0 300,0 300,100 0,100" Width="250" Stretch="Fill">
<Polygon.Fill>
<ImageBrush Viewport="0 0 800 300" ViewportUnits="Absolute" ImageSource="{StaticResource FSE_Abstract}" Stretch="None" Opacity="0.6" />
</Polygon.Fill>
</Polygon>
</Grid>
<Grid Margin="0,-2,0,2">
<Border x:Name="contentBorder" x:FieldModifier="public" BorderBrush="{StaticResource FSE_PrimaryBackgroundBrush}" BorderThickness="2">
<local:LayoutView/>
</Border>
<uiControls:NotificationsControl/>
<Image IsHitTestVisible="False" Source="{StaticResource FSE_Shadow_Top}" VerticalAlignment="Top" Stretch="Fill" Height="10" Opacity="0.6" />
</Grid>
</DockPanel>
</Grid>
</UserControl>
|