|
|
|
|
<UserControl x:Class="Kingo.DataDTBJK.UC_MenuButton"
|
|
|
|
|
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"
|
|
|
|
|
d:DesignHeight="160" d:DesignWidth="200">
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
|
<Storyboard x:Key="Storyboard1">
|
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
|
|
|
|
|
<SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="1.15"/>
|
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
|
|
|
|
|
<SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="1.15"/>
|
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
|
</Storyboard>
|
|
|
|
|
<Storyboard x:Key="Storyboard2">
|
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
|
|
|
|
|
<SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
|
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
|
|
|
|
|
<SplineDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
|
|
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
|
|
</Storyboard>
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
<Grid RenderTransformOrigin="0.5,0.5" >
|
|
|
|
|
<Grid.Style>
|
|
|
|
|
<Style TargetType="Grid">
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Trigger.ExitActions>
|
|
|
|
|
<BeginStoryboard Storyboard="{StaticResource Storyboard2}"/>
|
|
|
|
|
</Trigger.ExitActions>
|
|
|
|
|
<Trigger.EnterActions>
|
|
|
|
|
<BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
|
|
|
|
|
</Trigger.EnterActions>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</Grid.Style>
|
|
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform/>
|
|
|
|
|
<SkewTransform/>
|
|
|
|
|
<RotateTransform/>
|
|
|
|
|
<TranslateTransform/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition MinHeight="15"/>
|
|
|
|
|
<RowDefinition MinHeight="100"/>
|
|
|
|
|
<RowDefinition MinHeight="30"/>
|
|
|
|
|
<RowDefinition MinHeight="15"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border x:Name="borderBack" CornerRadius="15" Grid.RowSpan="4" Background="#FF1D8D36" />
|
|
|
|
|
<Border CornerRadius="15" Grid.RowSpan="4" Opacity="0.6" >
|
|
|
|
|
<Border.Background>
|
|
|
|
|
<ImageBrush Opacity="0.6" ImageSource="/Kingo.DataDTBJK;component/Images/SystemSelect/indexbg.jpg"/>
|
|
|
|
|
</Border.Background>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="border_btnbackground" Height="80" Width="80" CornerRadius="15" Background="DarkBlue" Grid.Row="0" Visibility="Collapsed">
|
|
|
|
|
<Image x:Name="img_icon1" Height="40" Width="40" Source="/Kingo.DataDTBJK;component/Images/SystemSelect/systemmonitoring.png"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Image x:Name="img_icon" MinHeight="80" MinWidth="80" Grid.Row="1" Source="/Kingo.DataDTBJK;component/Images/SystemSelect/distributeddatabase.png"/>
|
|
|
|
|
<TextBlock Grid.Row="2" FontSize="26px" x:Name="txt_menuName" FontFamily="/Kingo.VerificationSoft;component/Resources/IconFont/#Tensentype ChaoYuanJ" Foreground="#333333" VerticalAlignment="Center" HorizontalAlignment="Center" Text="数据管理" FontWeight="Bold"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|