WEB开发网
开发学院图形图像Flash Silverlight 下苹果(Mac OS)风格按钮的实现 阅读

Silverlight 下苹果(Mac OS)风格按钮的实现

 2008-10-24 11:46:47 来源:WEB开发网   
核心提示: Storyboard.TargetName="BackgroundGradient"Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.C

Storyboard.TargetName="BackgroundGradient"

Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">

<SplineColorKeyFrameKeyTime="0"Value="#aff9ff"/>

</ColorAnimationUsingKeyFrames>

</Storyboard>

</vsm:VisualState>

<vsm:VisualStatex:Name="Pressed">

<Storyboard>

<DoubleAnimationUsingKeyFramesDuration="0"Storyboard.TargetName="BackgroundGradient"Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">

<SplineDoubleKeyFrameKeyTime="0"Value=".2"/>

</DoubleAnimationUsingKeyFrames>

<ColorAnimationUsingKeyFrames

Duration="0"

Storyboard.TargetName="BackgroundGradient"

Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">

<SplineColorKeyFrameKeyTime="0"Value="#bac5e8"/>

</ColorAnimationUsingKeyFrames>

<ColorAnimationUsingKeyFrames

Duration="0"

Storyboard.TargetName="BackgroundGradient"

Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">

<SplineColorKeyFrameKeyTime="0"Value="#7bb2e9"/>

上一页  4 5 6 7 8 9 10  下一页

Tags:Silverlight 苹果 Mac

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接