2017-07-11 15:29:29 +02:00
|
|
|
<UserControl x:Class="SafeExamBrowser.UserInterface.Controls.TaskbarButton"
|
|
|
|
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.Controls"
|
|
|
|
mc:Ignorable="d"
|
2017-07-13 12:12:52 +02:00
|
|
|
d:DesignHeight="40" d:DesignWidth="50">
|
2017-07-11 15:29:29 +02:00
|
|
|
<Grid>
|
2017-07-13 12:12:52 +02:00
|
|
|
<Button x:Name="Button" BorderThickness="0" Click="Button_Click" Width="50">
|
|
|
|
<Button.Template>
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
<Border x:Name="ButtonContent" Background="#00000000" Padding="5">
|
|
|
|
<ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" ContentSource="Content" />
|
|
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
<Setter TargetName="ButtonContent" Property="Background" Value="#10FFFFFF" />
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
|
|
|
<Setter TargetName="ButtonContent" Property="Background" Value="#2AFFFFFF" />
|
|
|
|
</Trigger>
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Button.Template>
|
2017-07-11 15:29:29 +02:00
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|