Files
CustomerPanel-Test/MainWindow.xaml

853 lines
44 KiB
XML

<Window x:Name="Window"
x:Class="C4IT_CustomerPanel.MainWindow"
xmlns:resx="clr-namespace:C4IT_CustomerPanel.Properties"
xmlns:uctrl="clr-namespace:C4IT_CustomerPanel.UserControls"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
Title="Customer Panel"
Height="650"
Width="500"
ShowInTaskbar="False"
WindowStyle="None"
AllowsTransparency="False"
ResizeMode="NoResize"
Background="Transparent"
Loaded="Window_Loaded"
Icon="Resources/icons/logo_CustomerPanel.ico"
KeyDown="App_KeyDown"
Closed="Window_Closed"
SizeChanged="Window_SizeChanged">
<Window.Resources>
<Style x:Key="ScrollBarTrackThumb"
TargetType="{x:Type Thumb}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}">
<Grid x:Name="Grid">
<Rectangle HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Width="Auto"
Height="Auto"
Fill="Transparent" />
<Border x:Name="CornerScrollBarRectangle"
CornerRadius="6"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Width="Auto"
Height="Auto"
Margin="1"
Background="{DynamicResource subtleTextColor}" />
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Tag"
Value="Horizontal">
<Setter TargetName="CornerScrollBarRectangle"
Property="Width"
Value="Auto" />
<Setter TargetName="CornerScrollBarRectangle"
Property="Height"
Value="6" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type ScrollBar}">
<Setter Property="Stylus.IsFlicksEnabled"
Value="false" />
<Setter Property="Foreground"
Value="{DynamicResource subtleTextColor}" />
<Setter Property="Background"
Value="Transparent" />
<Setter Property="Width"
Value="10" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ScrollBar}">
<Grid x:Name="GridRoot"
Width="12"
Background="{TemplateBinding Background}">
<Grid.RowDefinitions>
<RowDefinition Height="0.00001*" />
</Grid.RowDefinitions>
<Track x:Name="PART_Track"
Grid.Row="0"
IsDirectionReversed="true"
Focusable="false">
<Track.Thumb>
<Thumb x:Name="Thumb"
Background="{TemplateBinding Foreground}"
Style="{DynamicResource ScrollBarTrackThumb}" />
</Track.Thumb>
<Track.IncreaseRepeatButton>
<RepeatButton x:Name="PageUp"
Command="ScrollBar.PageDownCommand"
Opacity="0"
Focusable="false" />
</Track.IncreaseRepeatButton>
<Track.DecreaseRepeatButton>
<RepeatButton x:Name="PageDown"
Command="ScrollBar.PageUpCommand"
Opacity="0"
Focusable="false" />
</Track.DecreaseRepeatButton>
</Track>
</Grid>
<ControlTemplate.Triggers>
<Trigger SourceName="Thumb"
Property="IsMouseOver"
Value="true">
</Trigger>
<Trigger SourceName="Thumb"
Property="IsDragging"
Value="true">
</Trigger>
<Trigger Property="IsEnabled"
Value="false">
<Setter TargetName="Thumb"
Property="Visibility"
Value="Collapsed" />
</Trigger>
<Trigger Property="Orientation"
Value="Horizontal">
<Setter TargetName="GridRoot"
Property="LayoutTransform">
<Setter.Value>
<RotateTransform Angle="-90" />
</Setter.Value>
</Setter>
<Setter TargetName="PART_Track"
Property="LayoutTransform">
<Setter.Value>
<RotateTransform Angle="-90" />
</Setter.Value>
</Setter>
<Setter Property="Width"
Value="Auto" />
<Setter Property="Height"
Value="10" />
<Setter TargetName="Thumb"
Property="Tag"
Value="Horizontal" />
<Setter TargetName="PageDown"
Property="Command"
Value="ScrollBar.PageLeftCommand" />
<Setter TargetName="PageUp"
Property="Command"
Value="ScrollBar.PageRightCommand" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<SolidColorBrush x:Key="ClrPrimary"
Color="#FF2A75B4" />
<Style TargetType="Button"
x:Key="ButtonStyle">
<Setter Property="Foreground"
Value="{DynamicResource buttonTextColor}" />
<Setter Property="Background"
Value="{DynamicResource inactiveButtonColor}" />
<Setter Property="BorderBrush"
Value="{DynamicResource panelBorderColor}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Cursor"
Value="Hand" />
<Setter Property="Padding"
Value="12,6" />
<Setter Property="SnapsToDevicePixels"
Value="True" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="10">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="{TemplateBinding Padding}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter Property="Background"
Value="{DynamicResource activeButtonColor}" />
<Setter Property="Foreground"
Value="White" />
</Trigger>
<Trigger Property="IsPressed"
Value="True">
<Setter Property="Opacity"
Value="0.92" />
</Trigger>
</Style.Triggers>
</Style>
<Style TargetType="Button"
x:Key="FlatButtonStyle2">
<Setter Property="FontSize"
Value="17" />
<Setter Property="Height"
Value="62" />
<Setter Property="Width"
Value="62" />
<Setter Property="Margin"
Value="0,5,0,3" />
<Setter Property="Panel.ZIndex"
Value="50"></Setter>
<EventSetter Event="PreviewMouseDown"
Handler="Button_MouseDown" />
<EventSetter Event="MouseEnter"
Handler="Button_MouseEnter" />
<EventSetter Event="MouseLeave"
Handler="Button_MouseLeave" />
<EventSetter Event="Loaded"
Handler="Button_Loaded" />
<Setter Property="Background"
Value="{DynamicResource inactiveButtonColor}" />
<Setter Property="Foreground"
Value="{DynamicResource navForeground}" />
<Setter Property="BorderBrush"
Value="{DynamicResource navigationRailBorderColor}" />
<Setter Property="BorderThickness"
Value="1" />
</Style>
<Style TargetType="ProgressBar"
x:Key="FlatProgressBar">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<TextBox x:Name="test">
</TextBox>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="Image"
x:Key="ImageStyle" />
<Style TargetType="Image"
x:Key="SignalMarkerStyle"
BasedOn="{StaticResource ImageStyle}">
<Setter Property="RenderTransformOrigin"
Value="0.5,0.5" />
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="0.8"
ScaleY="0.8" />
</Setter.Value>
</Setter>
<Setter Property="SnapsToDevicePixels"
Value="False" />
</Style>
<Style TargetType="Button"
x:Key="HeaderIconButtonStyle">
<Setter Property="Foreground"
Value="{DynamicResource navForeground}" />
<Setter Property="Background"
Value="{DynamicResource headerControlBackgroundColor}" />
<Setter Property="BorderBrush"
Value="{DynamicResource panelBorderColor}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Cursor"
Value="Hand" />
<Setter Property="Width"
Value="32" />
<Setter Property="Height"
Value="32" />
<Setter Property="Padding"
Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Border x:Name="HeaderButtonBorder"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="10">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter TargetName="HeaderButtonBorder"
Property="Background"
Value="{DynamicResource inactiveButtonColor}" />
</Trigger>
<Trigger Property="IsPressed"
Value="True">
<Setter TargetName="HeaderButtonBorder"
Property="Opacity"
Value="0.9" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="Button"
x:Key="HeaderGroupButtonStyle"
BasedOn="{StaticResource HeaderIconButtonStyle}">
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="Background"
Value="Transparent" />
<Setter Property="Width"
Value="32" />
<Setter Property="Height"
Value="32" />
</Style>
<DrawingImage x:Key="OverlayOffline">
<DrawingImage.Drawing>
<ImageDrawing Rect="0,0,16,16"
ImageSource="/Resources/StateOverlays/OverlayOffline_15.png" />
</DrawingImage.Drawing>
</DrawingImage>
</Window.Resources>
<Window.TaskbarItemInfo>
<TaskbarItemInfo />
</Window.TaskbarItemInfo>
<shell:WindowChrome.WindowChrome>
<shell:WindowChrome CaptionHeight="72"
CornerRadius="18"
GlassFrameThickness="0"
ResizeBorderThickness="0"
UseAeroCaptionButtons="False" />
</shell:WindowChrome.WindowChrome>
<Grid x:Name="MainGrid"
Background="{DynamicResource backgroundColor}">
<Border CornerRadius="18"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="{DynamicResource backgroundColor}"
ClipToBounds="True">
<Grid>
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
x:Name="MainDock">
<Grid DockPanel.Dock="Top"
x:Name="GridTop"
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
HorizontalAlignment="Left"
Margin="0"
Background="{DynamicResource headerColor}"
Height="72"
MouseDown="GridTop_MouseDown"
MouseUp="GridTop_MouseUp">
<Image Source="Resources/consulting4it-header1.png"
Panel.ZIndex="55"
Height="44"
Width="160"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Margin="14,14,0,0"
x:Name="Logo" />
<Border x:Name="HeaderActionGroup"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="0,12,12,0"
Panel.ZIndex="500"
CornerRadius="10"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="{DynamicResource headerControlBackgroundColor}"
shell:WindowChrome.IsHitTestVisibleInChrome="True">
<StackPanel Orientation="Horizontal">
<Button x:Name="RefreshIcon"
Style="{StaticResource HeaderGroupButtonStyle}"
ToolTip="Refresh"
shell:WindowChrome.IsHitTestVisibleInChrome="True"
Click="OnRefreshButtonClick">
<Image Source="{DynamicResource nav_appbar_refresh}"
Tag="ICO"
Width="16"
Height="16" />
</Button>
<Border Width="1"
Margin="0,6"
Background="{DynamicResource panelBorderColor}" />
<Button x:Name="Close_Text"
Style="{StaticResource HeaderGroupButtonStyle}"
ToolTip="{x:Static resx:Resources.close}"
shell:WindowChrome.IsHitTestVisibleInChrome="True"
Click="OnMinimizeButtonClick">
<TextBlock Text="X"
FontSize="15"
FontWeight="Bold"
TextAlignment="Center"
VerticalAlignment="Center"
HorizontalAlignment="Center" />
</Button>
</StackPanel>
</Border>
<!--<TextBlock MouseDown="OnCloseClicked" HorizontalAlignment="Right" FontSize="20" FontWeight="Bold" Margin="0,-5,5,0" Cursor="Hand" Panel.ZIndex="500" >X</TextBlock>-->
<Image Source="{DynamicResource nav_appbar_network_server_disconnect}"
Tag="ICO"
x:Name="ConnProblem"
Width="20"
Height="20"
Margin="0,16,54,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Visibility="Visible" />
<Image Source="{DynamicResource nav_appbar_network_server_connecting}"
Tag="ICO"
x:Name="Connecting"
Width="20"
Height="20"
Margin="0,16,54,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Visibility="Visible">
<Image.Style>
<Style>
<Style.Triggers>
<EventTrigger RoutedEvent="Image.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="(Image.Opacity)"
BeginTime="0:0:0"
Duration="0:0:0.75"
From="1.5"
To="0.0"
RepeatBehavior="Forever"
AutoReverse="True" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Style.Triggers>
</Style>
</Image.Style>
</Image>
<Border Visibility="Hidden"
Opacity="1"
x:Name="TopAbstract"
BorderThickness="0"
BorderBrush="Gray"
CornerRadius="0,0,14,14"
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}">
<Border.Background>
<ImageBrush ImageSource="Resources/top_cp.png"
Stretch="UniformToFill" />
</Border.Background>
</Border>
</Grid>
<StackPanel Orientation="Horizontal"
Width="75"
DockPanel.Dock="Top"
ClipToBounds="false"
x:Name="btnSP"
HorizontalAlignment="Left">
<Canvas ClipToBounds="false"
Panel.ZIndex="1000"
Margin="0,0,0,0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Height="620"
Width="75">
<Border Canvas.Left="5"
Canvas.Top="10"
Width="64"
Height="560"
CornerRadius="20"
BorderThickness="1"
BorderBrush="{DynamicResource navigationRailBorderColor}"
Background="{DynamicResource navigationRailColor}" />
<Button Visibility="Hidden"
x:Name="BtnBack"
Tag="100"
Canvas.Top="6"
Canvas.Left="4"
Width="62"
Height="62"
BorderThickness="1"
Style="{StaticResource FlatButtonStyle2}"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Border Background="{Binding Background, ElementName=BtnBack}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Border>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent"
ClipToBounds="false"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="62">
<Image Source="{DynamicResource nav_appbar_home_gps}"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="ICO"
Stretch="Fill"
Width="32"
Height="32"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="15,14,0,0" />
</StackPanel>
</Button>
<Button Tag="0"
x:Uid="1"
x:Name="BtnAnnouncements"
Visibility="Visible"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_announcement}"
BorderThickness="1"
Panel.ZIndex="1000"
Width="62"
Height="62"
Canvas.Left="4"
Canvas.Top="0">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Grid ClipToBounds="False">
<Border Background="{Binding Background, ElementName=BtnAnnouncements}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14" />
<Border Visibility="Hidden"
Tag="ActiveIndicator"
Panel.ZIndex="1001"
Width="4"
Height="34"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,-7,0"
CornerRadius="2"
Background="{DynamicResource accentColor}" />
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent"
ClipToBounds="False"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Image Source="{DynamicResource nav_appbar_newspaper}"
Panel.ZIndex="18"
Tag="ICO"
Style="{StaticResource ImageStyle}"
x:Name="icoAnn"
Stretch="Fill"
Width="34"
Height="34"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="14" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource SignalMarkerStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-20,-20,0,0" />
</StackPanel>
</Button>
<Button x:Uid="2"
Panel.ZIndex="1000"
x:Name="BtnIncident"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_incidents }"
BorderThickness="1"
Canvas.Top="0"
Width="62"
Height="62"
Canvas.Left="4">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Grid ClipToBounds="False">
<Border Background="{Binding Background, ElementName=BtnIncident}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14" />
<Border Visibility="Hidden"
Tag="ActiveIndicator"
Panel.ZIndex="1001"
Width="4"
Height="34"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,-7,0"
CornerRadius="2"
Background="{DynamicResource accentColor}" />
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Button.Template>
<StackPanel x:Name="StackPanel"
Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_clipboard_variant_text}"
x:Name="icoInc"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="34"
Height="34"
Margin="14" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource SignalMarkerStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-20,-20,0,0" />
</StackPanel>
</Button>
<Button Panel.ZIndex="1000"
x:Uid="3"
x:Name="BtnSsp"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_ssp}"
BorderThickness="1"
Canvas.Top="0"
Width="62"
Height="62"
Canvas.Left="4">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Grid ClipToBounds="false">
<Border Background="{Binding Background, ElementName=BtnSsp}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14" />
<Border Visibility="Hidden"
Tag="ActiveIndicator"
Panel.ZIndex="1001"
Width="4"
Height="34"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,-7,0"
CornerRadius="2"
Background="{DynamicResource accentColor}" />
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_cart}"
x:Name="icoSSP"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="34"
Height="34"
Margin="14"
Tag="ICO" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource SignalMarkerStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-20,-20,0,0" />
</StackPanel>
</Button>
<Button x:Name="BtnCustomLink"
x:Uid="4"
Margin="0,0,0,0"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.CustomLink}"
BorderThickness="1"
Canvas.Top="0"
Width="62"
Height="62"
Canvas.Left="4"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Grid ClipToBounds="False">
<Border Background="{Binding Background, ElementName=BtnCustomLink}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14" />
<Border Visibility="Hidden"
Tag="ActiveIndicator"
Panel.ZIndex="1001"
Width="4"
Height="34"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,-7,0"
CornerRadius="2"
Background="{DynamicResource accentColor}" />
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_star}"
x:Name="icoCustomLinks"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="34"
Height="34"
Margin="14" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource SignalMarkerStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-20,-20,0,0" />
</StackPanel>
</Button>
<Button x:Name="BtnInfo"
x:Uid="5"
Margin="0,0,0,0"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_information}"
BorderThickness="1"
Canvas.Top="0"
Width="62"
Height="62"
Canvas.Left="4"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Grid ClipToBounds="False">
<Border Background="{Binding Background, ElementName=BtnInfo}"
BorderBrush="{DynamicResource navigationRailBorderColor}"
BorderThickness="1"
CornerRadius="14" />
<Border Visibility="Hidden"
Tag="ActiveIndicator"
Panel.ZIndex="1001"
Width="4"
Height="34"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="0,0,-7,0"
CornerRadius="2"
Background="{DynamicResource accentColor}" />
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_information}"
x:Name="icoInfo"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="34"
Height="34"
Margin="14" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource SignalMarkerStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-20,-20,0,0" />
</StackPanel>
</Button>
</Canvas>
<Canvas Margin="0,0,0,0"
Panel.ZIndex="1"
ClipToBounds="False"
>
<Border Canvas.Left="-75"
Canvas.Top="8"
Width="500"
Height="580"
CornerRadius="20"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="{DynamicResource panelBackgroundColor}" />
<Canvas x:Name="StPaMain"
Panel.ZIndex="1000"
Height="590"
Width="500"
Background="Transparent"
Canvas.Left="-75">
<uctrl:Announcements x:Name="AnnouncementCtrl"
Canvas.Left="0"
Canvas.Top="10"
Visibility="Visible"/>
<uctrl:ComputerInformation x:Name="ComputerInfoCtrl"
Canvas.Left="0"
Canvas.Top="10"
Visibility="Collapsed"/>
<uctrl:Incidents x:Name="IncidentCtrl"
Canvas.Left="0"
Canvas.Top="10"
Visibility="Collapsed" />
<uctrl:PortalSearch x:Name="PortalSearchCtrl"
Canvas.Left="0"
Canvas.Top="10"
Visibility="Collapsed"/>
<uctrl:CustomLinks x:Name="CustomLinksCtrl"
Canvas.Left="0"
Canvas.Top="10"
Visibility="Collapsed" />
</Canvas>
</Canvas>
</StackPanel>
</DockPanel>
<Image Source="Resources/United-Kingdom-Flag-icon.png"
Panel.ZIndex="1001"
VerticalAlignment="Bottom"
HorizontalAlignment="Left"
Stretch="None"
Margin="80,0,0,140" />
</Grid>
</Border>
</Grid>
</Window>