src/FingersDance.Control.SessionInput/UserControlNewProjectForm.xaml
author cavaliet
Thu, 12 Nov 2009 16:15:19 +0100
changeset 192 11083c390ce4
parent 187 b266af50744c
permissions -rw-r--r--
Second step of data saving : id added for cutting and annotation, and now we can load/display/change the already existing projects.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
187
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     1
<UserControl
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     2
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     3
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     4
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     5
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     6
	mc:Ignorable="d"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     7
	xmlns:Custom="http://schemas.microsoft.com/surface/2008" 
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     8
    xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
     9
	x:Class="FingersDance.Control.SessionInput.UserControlNewProjectForm"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    10
	x:Name="UserControlnewprojectform"
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    11
	Background="#FFA09E9E" 
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    12
    Width="256" 
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    13
    Height="192">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    14
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    15
    <UserControl.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    16
        <Style x:Key="FingersDance.Control.SurfaceRadioButton" TargetType="{x:Type Custom:SurfaceRadioButton}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    17
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    18
            <Setter Property="Background" Value="Transparent"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    19
            <Setter Property="Foreground" Value="Black"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    20
            <Setter Property="BorderBrush" Value="Transparent"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    21
            <Setter Property="Padding" Value="5,0,0,0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    22
            <Setter Property="Template">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    23
                <Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    24
                    <ControlTemplate TargetType="{x:Type Custom:SurfaceRadioButton}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    25
                        <ControlTemplate.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    26
                            <Storyboard x:Key="ThreeStateExit">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    27
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    28
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    29
                                </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    30
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    31
                            <Storyboard x:Key="Press">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    32
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    33
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    34
                                </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    35
                                <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    36
                                    <SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    37
                                </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    38
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    39
                            <Storyboard x:Key="Checked">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    40
                                <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    41
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    42
                            <Storyboard x:Key="Release">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    43
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    44
                                    <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    45
                                    <SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    46
                                </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    47
                                <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    48
                                    <SplineThicknessKeyFrame KeyTime="00:00:00" Value="-2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    49
                                    <SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    50
                                </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    51
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    52
                            <Storyboard x:Key="Unchecked">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    53
                                <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    54
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    55
                            <Storyboard x:Key="ThreeStateEnter">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    56
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    57
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0.9"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    58
                                </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    59
                            </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    60
                        </ControlTemplate.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    61
                        <BulletDecorator x:Name="bulletDecorator" MinHeight="30" MinWidth="30" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Background="Transparent">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    62
                            <BulletDecorator.Bullet>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    63
                                <Grid MinHeight="30" MinWidth="30" Width="30" Height="30" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    64
                                    <Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Stroke="Transparent" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    65
                                    <Rectangle x:Name="Button" Fill="{x:Null}" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Stroke="White"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    66
                                    <Rectangle x:Name="RenderOverlay" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="3" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Fill="{x:Null}" Stroke="{x:Null}"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    67
                                    <Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="GlowBorder" Margin="2" Opacity="0" Color="White" CornerRadius="{Binding ActualHeight, ElementName=GlowBorder}"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    68
                                    <Rectangle x:Name="Checkmark" Fill="{x:Null}" StrokeThickness="7" RadiusX="6" RadiusY="6" Margin="8" Opacity="0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    69
                                        <Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    70
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    71
                                                <GradientStop Color="#FF292929" Offset="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    72
                                                <GradientStop Color="#FF1B1B1B" Offset="0.276"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    73
                                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    74
                                        </Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    75
                                    </Rectangle>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    76
                                    <Rectangle x:Name="ThreeStateMark" StrokeThickness="1" RadiusX="13" RadiusY="13" Margin="6" Opacity="0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    77
                                        <Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    78
                                            <LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    79
                                                <GradientStop Color="#66000000" Offset="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    80
                                                <GradientStop Color="#33000000" Offset="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    81
                                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    82
                                        </Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    83
                                        <Rectangle.Fill>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    84
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    85
                                                <GradientStop Color="#FF292929" Offset="0.5"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    86
                                                <GradientStop Color="#FF1B1B1B" Offset="0.196"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    87
                                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    88
                                        </Rectangle.Fill>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    89
                                    </Rectangle>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    90
                                </Grid>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    91
                            </BulletDecorator.Bullet>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    92
                            <Grid HorizontalAlignment="Stretch" Margin="5,0,0,0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    93
                                <Grid x:Name="ContentBox" HorizontalAlignment="Stretch" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Background="Transparent">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    94
                                    <ContentPresenter x:Name="Content" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" ClipToBounds="False" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    95
                                </Grid>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    96
                            </Grid>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    97
                        </BulletDecorator>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    98
                        <ControlTemplate.Triggers>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
    99
                            <MultiTrigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   100
                                <MultiTrigger.Conditions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   101
                                    <Condition Property="IsThreeState" Value="True"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   102
                                    <Condition Property="IsChecked" Value="{x:Null}"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   103
                                </MultiTrigger.Conditions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   104
                                <MultiTrigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   105
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   106
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   107
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   108
                                                <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   109
                                            </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   110
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   111
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   112
                                </MultiTrigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   113
                                <MultiTrigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   114
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   115
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   116
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   117
                                                <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0.9"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   118
                                            </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   119
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   120
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   121
                                </MultiTrigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   122
                            </MultiTrigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   123
                            <Trigger Property="IsChecked" Value="False">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   124
                                <Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   125
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   126
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   127
                                            <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   128
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   129
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   130
                                </Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   131
                                <Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   132
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   133
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   134
                                            <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   135
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   136
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   137
                                </Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   138
                            </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   139
                            <Trigger Property="IsChecked" Value="True">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   140
                                <Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   141
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   142
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   143
                                            <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   144
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   145
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   146
                                </Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   147
                                <Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   148
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   149
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   150
                                            <DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   151
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   152
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   153
                                </Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   154
                            </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   155
                            <Trigger Property="IsPressed" Value="True">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   156
                                <Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   157
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   158
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   159
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   160
                                                <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   161
                                            </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   162
                                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   163
                                                <SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   164
                                            </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   165
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   166
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   167
                                </Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   168
                                <Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   169
                                    <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   170
                                        <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   171
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   172
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   173
                                                <SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   174
                                            </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   175
                                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   176
                                                <SplineThicknessKeyFrame KeyTime="00:00:00" Value="-2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   177
                                                <SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   178
                                            </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   179
                                        </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   180
                                    </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   181
                                </Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   182
                            </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   183
                            <Trigger Property="IsEnabled" Value="False">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   184
                                <Setter Property="Fill" TargetName="Button" Value="#00000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   185
                                <Setter Property="Stroke" TargetName="Button" Value="#33000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   186
                                <Setter Property="Foreground" Value="#A5333333"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   187
                                <Setter Property="Fill" TargetName="RenderOverlay" Value="#00000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   188
                                <Setter Property="Stroke" TargetName="Checkmark" Value="#33000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   189
                                <Setter Property="Opacity" TargetName="RenderOverlay" Value="0.5"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   190
                            </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   191
                        </ControlTemplate.Triggers>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   192
                    </ControlTemplate>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   193
                </Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   194
            </Setter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   195
            <Style.BasedOn>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   196
                <Style TargetType="{x:Type ButtonBase}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   197
                    <Setter Property="SnapsToDevicePixels" Value="True"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   198
                    <Setter Property="FocusVisualStyle">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   199
                        <Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   200
                            <Style>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   201
                                <Setter Property="Control.Template">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   202
                                    <Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   203
                                        <ControlTemplate/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   204
                                    </Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   205
                                </Setter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   206
                            </Style>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   207
                        </Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   208
                    </Setter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   209
                    <Setter Property="FontFamily" Value="Segoe UI"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   210
                    <Setter Property="FontSize" Value="10"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   211
                    <Setter Property="Foreground" Value="Black"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   212
                    <Setter Property="Background" Value="#33A4B4BD"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   213
                    <Setter Property="BorderBrush">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   214
                        <Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   215
                            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   216
                                <GradientStop Color="#7FFFFFFF" Offset="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   217
                                <GradientStop Color="#0CFFFFFF" Offset="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   218
                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   219
                        </Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   220
                    </Setter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   221
                    <Setter Property="BorderThickness" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   222
                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   223
                    <Setter Property="VerticalContentAlignment" Value="Center"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   224
                    <Setter Property="Padding" Value="15,6"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   225
                    <Setter Property="IsTabStop" Value="False"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   226
                    <Setter Property="Focusable" Value="False"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   227
                    <Setter Property="MinWidth" Value="30"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   228
                    <Setter Property="MinHeight" Value="30"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   229
                    <Setter Property="Template">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   230
                        <Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   231
                            <ControlTemplate TargetType="{x:Type ButtonBase}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   232
                                <ControlTemplate.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   233
                                    <Storyboard x:Key="Press">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   234
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   235
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   236
                                        </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   237
                                        <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   238
                                            <SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   239
                                        </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   240
                                    </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   241
                                    <Storyboard x:Key="Release">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   242
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   243
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   244
                                            <SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   245
                                        </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   246
                                        <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   247
                                            <SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   248
                                            <SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   249
                                        </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   250
                                    </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   251
                                </ControlTemplate.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   252
                                <Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   253
                                    <Border x:Name="Shadow" Margin="1,1,1,0" BorderBrush="#33000000" BorderThickness="0,0,0,1" CornerRadius="6" Padding="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   254
                                    <Rectangle x:Name="Base" Fill="{TemplateBinding Background}" StrokeThickness="1" RadiusX="5" RadiusY="5" Margin="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   255
                                        <Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   256
                                            <LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   257
                                                <GradientStop Color="#66000000" Offset="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   258
                                                <GradientStop Color="#33000000" Offset="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   259
                                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   260
                                        </Rectangle.Stroke>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   261
                                    </Rectangle>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   262
                                    <Rectangle x:Name="RenderOverlay" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1" RadiusX="4" RadiusY="4" Margin="2" Opacity="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   263
                                        <Rectangle.Fill>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   264
                                            <LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   265
                                                <GradientStop Color="#26000000" Offset="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   266
                                                <GradientStop Color="#4CFFFFFF" Offset="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   267
                                            </LinearGradientBrush>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   268
                                        </Rectangle.Fill>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   269
                                    </Rectangle>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   270
                                    <Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Margin="1" Opacity="0" Color="White" CornerRadius="4"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   271
                                    <ContentPresenter x:Name="Content" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   272
                                        <ContentPresenter.RenderTransform>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   273
                                            <TranslateTransform X="0" Y="-1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   274
                                        </ContentPresenter.RenderTransform>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   275
                                    </ContentPresenter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   276
                                </Grid>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   277
                                <ControlTemplate.Triggers>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   278
                                    <Trigger Property="IsPressed" Value="True">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   279
                                        <Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   280
                                            <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   281
                                                <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   282
                                                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   283
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   284
                                                    </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   285
                                                    <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   286
                                                        <SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   287
                                                    </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   288
                                                </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   289
                                            </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   290
                                        </Trigger.EnterActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   291
                                        <Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   292
                                            <BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   293
                                                <Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   294
                                                    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   295
                                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   296
                                                        <SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   297
                                                    </DoubleAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   298
                                                    <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   299
                                                        <SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   300
                                                        <SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   301
                                                    </ThicknessAnimationUsingKeyFrames>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   302
                                                </Storyboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   303
                                            </BeginStoryboard>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   304
                                        </Trigger.ExitActions>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   305
                                    </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   306
                                    <Trigger Property="IsEnabled" Value="True"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   307
                                    <Trigger Property="IsEnabled" Value="False">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   308
                                        <Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   309
                                        <Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   310
                                        <Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   311
                                        <Setter Property="BorderBrush" TargetName="Shadow" Value="#00000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   312
                                        <Setter Property="Foreground" Value="#A5333333"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   313
                                        <Setter Property="Background" Value="Transparent"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   314
                                    </Trigger>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   315
                                </ControlTemplate.Triggers>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   316
                            </ControlTemplate>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   317
                        </Setter.Value>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   318
                    </Setter>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   319
                </Style>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   320
            </Style.BasedOn>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   321
        </Style>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   322
    </UserControl.Resources>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   323
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   324
    <Grid x:Name="LayoutRoot" Background="{DynamicResource SessionInput__Background_xaml}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   325
        <Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,17.818,8,0" x:Name="ST_Name" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Foreground="#FF000000" Background="#7FFFFFFF"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   326
        <Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Name:" Margin="14.367,9.818,0,0" x:Name="LName" Foreground="#FFBCB3B3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   327
        <Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" Margin="92.688,50.626,8,0" x:Name="ST_Date" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   328
        <Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Date:" Margin="14.367,42.626,0,0" x:Name="LDate" Foreground="#FFBCB3B3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   329
        <Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,82.586,8,0" x:Name="ST_Alias" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7EFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   330
        <Label HorizontalAlignment="Left" Content="Alias:" Margin="14.367,74.586,0,91.454" x:Name="LAlias" Foreground="#FFBCB3B3" d:LayoutOverrides="Height"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   331
        <Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,113.677,8,0" x:Name="ST_Email" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   332
        <Label HorizontalAlignment="Left" Content="Email:" Margin="14.367,0,0,59.494" x:Name="LEmail" VerticalAlignment="Bottom" Foreground="#FFBCB3B3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   333
        <Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,0,8,30.403" x:Name="ST_Desc" VerticalAlignment="Bottom" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   334
        <Label x:Name="LDescription" HorizontalAlignment="Left" VerticalAlignment="Bottom" Content="Description:" Margin="14.367,0,0,30.403" Width="74.321" Foreground="#FFBCB3B3"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   335
        <Custom:SurfaceRadioButton RenderTransformOrigin="0.46,0.243" Margin="70.688,0,0,3" VerticalAlignment="Bottom" Content="" Height="30.403" x:Name="SurfaceButtonSubmit" ContactDown="SurfaceButtonSubmit_ContactDown" Click="SurfaceButtonSubmit_Click" HorizontalAlignment="Left" Style="{DynamicResource FingersDance.Control.SurfaceRadioButton}" Width="33.312" Background="{DynamicResource ConfirmationTick_xaml}" BorderBrush="{x:Null}">
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   336
            <Custom:SurfaceRadioButton.RenderTransform>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   337
                <TransformGroup>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   338
                    <ScaleTransform ScaleX="1" ScaleY="1"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   339
                    <SkewTransform AngleX="0" AngleY="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   340
                    <RotateTransform Angle="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   341
                    <TranslateTransform X="0" Y="0"/>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   342
                </TransformGroup>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   343
            </Custom:SurfaceRadioButton.RenderTransform>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   344
        </Custom:SurfaceRadioButton>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   345
    </Grid>
b266af50744c Change file and event names for code to be clearer and more coherent with the project and cuttings organisation
cavaliet
parents:
diff changeset
   346
</UserControl>