<UserControl x:Class="Framework.Silverlight.Client.CxGridCursor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Client="clr-namespace:Framework.Silverlight.Client"
>
<UserControl.Resources>
<LinearGradientBrush x:Key="GreyGradientBrush" StartPoint="0, 0" EndPoint="0, 1" SpreadMethod="Pad" MappingMode="RelativeToBoundingBox" Opacity="0.6">
<GradientStop Color="#eeeeee"/>
<GradientStop Color="#eeeeee" Offset="1"/>
</LinearGradientBrush>
<LinearGradientBrush x:Key="hotGradientBrush" StartPoint="0, 0" EndPoint="0, 1" SpreadMethod="Pad" MappingMode="RelativeToBoundingBox">
<GradientStop Color="#fefefe"/>
<GradientStop Color="Orange" Offset="1"/>
</LinearGradientBrush>
<Storyboard x:Name="iconBoard" >
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="brdView" Storyboard.TargetProperty="(UIElement.Opacity)" >
<SplineDoubleKeyFrame KeyTime="00:00:0.3000000" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<!--<Storyboard x:Name="hotBoard" >
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="brdHot" Storyboard.TargetProperty="(UIElement.Opacity)" >
<SplineDoubleKeyFrame KeyTime="00:00:0.5000000" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>-->
</UserControl.Resources>
<!--Background="{StaticResource GreyGradientBrush}"-->
<Grid x:Name="LayoutRoot"
Background="{StaticResource GreyGradientBrush}"
MouseEnter="LayoutRoot_MouseEnter"
MouseLeave="LayoutRoot_MouseLeave"
MouseLeftButtonUp="LayoutRoot_MouseLeftButtonUp"
Cursor="Hand">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="22"/>
</Grid.ColumnDefinitions>
<Image
x:Name="cursorImg"
Stretch="None"
Source="GridCursorPointer_6x12.png"
Visibility="Collapsed"
Margin="3, 0, 3, 0"
Grid.Column="2"/>
<Border
CornerRadius="2"
Opacity="1"
BorderThickness="0"
BorderBrush="Gray"
Margin="0, 0, 0, 0"
x:Name="brdHot"
Background="Transparent"
>
<Border
Margin="0, 0, 2, 0"
Background="Transparent"
x:Name="brdView"
Grid.Column="1"
Opacity = "0">
<Image x:Name="imgView" Width="16" Height="16" Source="document_view_16x16.png"/>
</Border>
</Border>
</Grid>
</UserControl>