|
0
|
1 |
<UserControl x:Class="Iri.Modernisation.Controls.View.HeaderControl"
|
|
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4 |
xmlns:local="clr-namespace:Iri.Modernisation.Controls.View"
|
|
4
|
5 |
xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions"
|
|
|
6 |
xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang"
|
|
|
7 |
Width="900" Height="40" FontFamily="Verdana"
|
|
|
8 |
>
|
|
|
9 |
<UserControl.Resources>
|
|
|
10 |
<ResourceDictionary>
|
|
|
11 |
<Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource>
|
|
|
12 |
</ResourceDictionary>
|
|
|
13 |
</UserControl.Resources>
|
|
|
14 |
|
|
0
|
15 |
<Grid x:Name="LayoutRoot" Background="White" >
|
|
|
16 |
<Image Source="images/bgcompact.jpg" Stretch="UniformToFill" Height="43" HorizontalAlignment="Stretch" VerticalAlignment="Top"/>
|
|
|
17 |
<Rectangle VerticalAlignment="Top" HorizontalAlignment="Stretch" Fill="Black" Height="43" />
|
|
|
18 |
|
|
|
19 |
<TextBlock x:Name="textInfo" IsHitTestVisible="False" HorizontalAlignment="Center"
|
|
|
20 |
VerticalAlignment="Top" Margin="0,12,540,0" FontSize="14"
|
|
|
21 |
Foreground="#FFffffff" />
|
|
|
22 |
|
|
|
23 |
<StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="293,0,0,0" Background="Transparent" HorizontalAlignment="Left" >
|
|
4
|
24 |
<local:ButtonHeaderControl Input:CommandService.Command="ButtonClick" Input:CommandService.CommandParameter="{Binding}" Title="{Binding MenuDisplayAnnotations, Source={StaticResource LangLabels}}" ImageSource="images/home.png" TransitionColor="#7f002222" Margin="2,0,0,0" MouseMove="ButtonSeven_MouseMove"
|
|
0
|
25 |
NavigateUri="#"/>
|
|
4
|
26 |
<local:ButtonHeaderControl Input:CommandService.Command="ButtonClick" Input:CommandService.CommandParameter="{Binding}" Title="{Binding MenuDisplaySequences, Source={StaticResource LangLabels}}" ImageSource="images/games.png" TransitionColor="#7f220022" Margin="2,0,0,0" MouseMove="ButtonSeven_MouseMove"
|
|
0
|
27 |
NavigateUri="#"/>
|
|
|
28 |
</StackPanel>
|
|
|
29 |
|
|
|
30 |
<StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="0,0,3,0" Background="Transparent" HorizontalAlignment="Right" Width="309" >
|
|
|
31 |
|
|
4
|
32 |
<local:ButtonHeaderControl Input:CommandService.Command="ButtonClick" Input:CommandService.CommandParameter="{Binding}" Title="{Binding MenuMessagingLabel, Source={StaticResource LangLabels}}" ImageSource="images/sourcecode.png" TransitionColor="#7f220000" Margin="2,0,0,0" MouseMove="ButtonSeven_MouseMove"
|
|
0
|
33 |
NavigateUri="#s"/>
|
|
4
|
34 |
<local:ButtonHeaderControl Input:CommandService.Command="ButtonClick" Input:CommandService.CommandParameter="{Binding}" Title="{Binding MenuPreferenceLabel, Source={StaticResource LangLabels}}" ImageSource="images/tutorials.png" TransitionColor="#7f000022" Margin="2,0,0,0" MouseMove="ButtonSeven_MouseMove"
|
|
0
|
35 |
NavigateUri="#s"/>
|
|
4
|
36 |
<local:ButtonHeaderControl Input:CommandService.Command="ButtonClick" Input:CommandService.CommandParameter="{Binding}" Title="{Binding MenuLogoutLabel, Source={StaticResource LangLabels}}" ImageSource="images/blog.png" TransitionColor="#7f002200" Margin="2,0,0,0" MouseMove="ButtonSeven_MouseMove"
|
|
0
|
37 |
NavigateUri="#" OpenInNewWindow="True"/>
|
|
|
38 |
|
|
|
39 |
</StackPanel>
|
|
|
40 |
<TextBlock x:Name="textTopTitle" Text="{Binding ConnectedName}" Foreground="White" Margin="0,0,4,12" IsHitTestVisible="False" FontSize="10.667" />
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
</Grid>
|
|
|
44 |
</UserControl>
|