<UserControl x:Class="SafeExamBrowser.UserInterface.Mobile.Controls.TaskbarApplicationControl" 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:local="clr-namespace:SafeExamBrowser.UserInterface.Mobile.Controls" xmlns:s="clr-namespace:System;assembly=mscorlib" mc:Ignorable="d" d:DesignHeight="40" d:DesignWidth="50"> <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="../Templates/Buttons.xaml" /> <ResourceDictionary Source="../Templates/Colors.xaml" /> <ResourceDictionary Source="../Templates/ScrollViewers.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </UserControl.Resources> <Grid> <Popup x:Name="InstancePopup" IsOpen="False" Placement="Top" PlacementTarget="{Binding ElementName=Button}"> <Border Background="LightGray" BorderBrush="Gray" BorderThickness="0.75,0.75,0.75,0"> <ScrollViewer x:Name="InstanceScrollViewer" MaxHeight="400" VerticalScrollBarVisibility="Auto" Template="{StaticResource SmallBarScrollViewer}"> <StackPanel x:Name="InstanceStackPanel" /> </ScrollViewer> </Border> </Popup> <Button x:Name="Button" Background="{StaticResource BackgroundBrush}" Click="Button_Click" Padding="4" Template="{StaticResource TaskbarButton}" Width="60" /> </Grid> </UserControl>