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

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

 2008-10-24 11:46:47 来源:WEB开发网   
核心提示: </vsm:VisualStateGroup.Transitions><vsm:VisualStatex:Name="Normal"><Storyboard/></vsm:VisualState><vsm:Visua

</vsm:VisualStateGroup.Transitions>

<vsm:VisualStatex:Name="Normal">

<Storyboard/>

</vsm:VisualState>

<vsm:VisualStatex:Name="MouseOver">

<Storyboard>

<ColorAnimationUsingKeyFrames

Duration="0"

Storyboard.TargetName="BackgroundGradient"

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

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

</ColorAnimationUsingKeyFrames>

<ColorAnimationUsingKeyFrames

Duration="0"

Storyboard.TargetName="BackgroundGradient"

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

<SplineColorKeyFrameKeyTime="0"Value="#97c2ee"/>

</ColorAnimationUsingKeyFrames>

<ColorAnimationUsingKeyFrames

Duration="0"

Storyboard.TargetName="BackgroundGradient"

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

<SplineColorKeyFrameKeyTime="0"Value="#6eadee"/>

</ColorAnimationUsingKeyFrames>

<ColorAnimationUsingKeyFrames

Duration="0"

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

Tags:Silverlight 苹果 Mac

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