client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml
changeset 0 249d70e7b32d
child 4 cf756528609e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+<UserControl x:Class="Iri.Modernisation.Controls.View.ButtonHeaderControl"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
+ 
+         
+    Width="58" Height="42" ><!--MouseLeftButtonUp="UserControl_MouseLeftButtonUp">-->
+    <UserControl.Resources>
+        <Storyboard x:Name="animEnter">
+            <DoubleAnimation To="1" FillBehavior="HoldEnd" Storyboard.TargetName="brushLight" Storyboard.TargetProperty="Opacity"
+                                     Duration="0:0:0.1"/>
+        </Storyboard>
+        <Storyboard x:Name="animLeave">
+            <DoubleAnimation To="0" FillBehavior="HoldEnd" Storyboard.TargetName="brushLight" Storyboard.TargetProperty="Opacity"
+                                     Duration="0:0:0.4"/>
+        </Storyboard>
+    </UserControl.Resources>
+    <Grid x:Name="LayoutRoot" Background="Transparent" MouseMove="LayoutRoot_MouseMove" MouseEnter="LayoutRoot_MouseEnter" MouseLeave="LayoutRoot_MouseLeave" Cursor="Hand">
+        <Rectangle Fill="#20000000" Stroke="White" StrokeThickness="0.3" Margin="0.3" IsHitTestVisible="False" />
+        <Rectangle  IsHitTestVisible="False">
+            <Rectangle.Fill>
+                <RadialGradientBrush RadiusX="0.7253" RadiusY="1" GradientOrigin="0.5,0.5" Center="0.5,0.5" x:Name="brushLight" Opacity="0">
+                    <GradientStop Offset="0" Color="#fFffffff"/>
+                    <GradientStop Offset="0.6" Color="#ffD8935F" x:Name="transitionColor"/>
+                    <GradientStop Offset="0.8" Color="#3fD8935F" x:Name="transitionSubColor"/>
+                </RadialGradientBrush>
+            </Rectangle.Fill>
+        </Rectangle>
+        <Image x:Name="imgItem" Source="home.png" Stretch="Uniform" IsHitTestVisible="False" Margin="4" HorizontalAlignment="Center" VerticalAlignment="Center"  />
+    </Grid>
+</UserControl>