Silverlight 下苹果(Mac OS)风格按钮的实现
2008-10-24 11:46:47 来源:WEB开发网<Colorx:Key="CurvedBevelFillStartColor">#B3FFFFFF</Color>
<Colorx:Key="CurvedBevelFillEndColor">#3CFFFFFF</Color>
<SolidColorBrushx:Key="BorderBrush"Color="#FF5E5E5E"/>
<SolidColorBrushx:Key="AccentBrush"Color="#FF000000"/>
<SolidColorBrushx:Key="DisabledBrush"Color="#A5FFFFFF"/>
<LinearGradientBrushx:Key="FocusedStrokeBrush"EndPoint="0.5,1"StartPoint="0.5,0">
<GradientStopColor="#B2FFFFFF"Offset="0"/>
<GradientStopColor="#51FFFFFF"Offset="1"/>
<GradientStopColor="#66FFFFFF"Offset="0.325"/>
<GradientStopColor="#1EFFFFFF"Offset="0.325"/>
</LinearGradientBrush>
</Grid.Resources>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroupx:Name="CommonStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransitionDuration="00:00:00.2000000"To="MouseOver"/>
<vsm:VisualTransitionDuration="0:0:0.1"To="Pressed"/>
<vsm:VisualTransitionDuration="00:00:00.2000000"From="Normal"To="MouseOver"/>
Tags:Silverlight 苹果 Mac
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接