Ignore:
Timestamp:
Jul 6, 2010, 6:19:17 AM (12 years ago)
Author:
matkovic
Message:

-added Animations
-added loupe image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Resource/Animations.xaml

    r1717 r1728  
    3030    </Storyboard>
    3131
     32    <Storyboard x:Key="VisiblityCollapsed" BeginTime="00:00:00">
     33        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility">
     34            <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" />
     35        </ObjectAnimationUsingKeyFrames>
     36    </Storyboard>
     37
     38    <Storyboard x:Key="VisiblityVisible" BeginTime="00:00:00.2">
     39        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility">
     40            <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" />
     41        </ObjectAnimationUsingKeyFrames>
     42    </Storyboard>
     43
     44    <Storyboard x:Key="RollOut" AccelerationRatio="0.2" DecelerationRatio="0.2">
     45        <ThicknessAnimation
     46                Storyboard.TargetProperty="Margin"
     47                Duration="00:00:00.2" FillBehavior="HoldEnd" To="0,30,0,0" />
     48       
     49        <!--<ObjectAnimationUsingKeyFrames BeginTime="00:00:01" Storyboard.TargetProperty="Visibility">
     50            <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" />
     51        </ObjectAnimationUsingKeyFrames>-->
     52
     53    </Storyboard>
     54   
     55    <Storyboard x:Key="RollBack">
     56        <ThicknessAnimation
     57                Storyboard.TargetProperty="Margin"
     58                Duration="00:00:00.2" FillBehavior="HoldEnd" To="-80,30,0,0" />
     59       
     60        <!--<ObjectAnimationUsingKeyFrames BeginTime="00:00:01" Storyboard.TargetProperty="Visibility">
     61            <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" />
     62        </ObjectAnimationUsingKeyFrames>-->
     63
     64    </Storyboard>
     65
     66    <Storyboard x:Key="Disappear" AccelerationRatio="0.3" DecelerationRatio="0.3">
     67        <DoubleAnimation To="0" Duration="00:00:00.5" Storyboard.TargetProperty="Opacity"/>
     68        <DoubleAnimation To="0" Duration="00:00:00.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"/>
     69        <DoubleAnimation To="0" Duration="00:00:00.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"/>
     70        <ThicknessAnimation
     71                Storyboard.TargetProperty="Margin"
     72                Duration="00:00:00.5" FillBehavior="HoldEnd" To="-80,30,0,0" />
     73    </Storyboard>
     74
     75    <Storyboard x:Key="Appear" AccelerationRatio="0.3" DecelerationRatio="0.3">
     76        <DoubleAnimation To="1" Duration="00:00:00.5" Storyboard.TargetProperty="Opacity"/>
     77        <DoubleAnimation To="1" Duration="00:00:00.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"/>
     78        <DoubleAnimation To="1" Duration="00:00:00.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"/>
     79        <ThicknessAnimation
     80                Storyboard.TargetProperty="Margin"
     81                Duration="00:00:00.5" FillBehavior="HoldEnd" To="0,30,0,0" />
     82    </Storyboard>
     83   
     84   
     85
    3286</ResourceDictionary>
Note: See TracChangeset for help on using the changeset viewer.