<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="was.touchcopy.features.controls.ResizeSplitterHandle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Storyboard x:Key="thumbExpandStoryboard" Storyboard.TargetName="splitterThumb" Storyboard.TargetProperty="Width" >
            <DoubleAnimation From="4" To="6" Duration="0:0:0.15" AutoReverse="False" EnableDependentAnimation="True"/>
        </Storyboard>
        <Storyboard x:Key="thumbContractStoryboard" Storyboard.TargetName="splitterThumb" Storyboard.TargetProperty="Width" >
            <DoubleAnimation From="6" To="4" Duration="0:0:0.15" AutoReverse="False" EnableDependentAnimation="True"/>
        </Storyboard>
    </UserControl.Resources>
    <Grid Width="8" HorizontalAlignment="Center">
        <Thumb x:Name="splitterThumb" 
            Width="4" Margin="0,8" HorizontalAlignment="Center" VerticalAlignment="Stretch"
            PointerEntered="splitterThumb_PointerEntered" PointerExited="splitterThumb_PointerExited"
            DragDelta="splitterThumb_DragDelta" />
    </Grid>
</UserControl>
