Silverlight 下苹果(Mac OS)风格按钮的实现
2008-10-24 11:46:47 来源:WEB开发网</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames
Duration="0"
Storyboard.TargetName="BackgroundGradient"
Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
<SplineColorKeyFrameKeyTime="0"Value="#4d9ae7"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames
Duration="0"
Storyboard.TargetName="BackgroundGradient"
Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
<SplineColorKeyFrameKeyTime="0"Value="#85eaff"/>
</ColorAnimationUsingKeyFrames>
</Storyboard>
</vsm:VisualState>
<vsm:VisualStatex:Name="Disabled">
<Storyboard>
<DoubleAnimationUsingKeyFramesDuration="0"Storyboard.TargetName="DisabledVisual"Storyboard.TargetProperty="Opacity">
<SplineDoubleKeyFrameKeyTime="0"Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroupx:Name="FocusStates">
<vsm:VisualStatex:Name="Focused">
Tags:Silverlight 苹果 Mac
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接