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

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

 2008-10-24 11:46:47 来源:WEB开发网   
核心提示: <vsm:SetterProperty="VerticalContentAlignment"Value="Center"/><vsm:SetterProperty="Cursor"Value="Arro

<vsm:SetterProperty="VerticalContentAlignment"Value="Center"/>

<vsm:SetterProperty="Cursor"Value="Arrow"/>

<vsm:SetterProperty="TextAlignment"Value="Left"/>

<vsm:SetterProperty="TextWrapping"Value="NoWrap"/>

<vsm:SetterProperty="FontSize"Value="11"/>

<vsm:SetterProperty="Template">

<vsm:Setter.Value>

<ControlTemplateTargetType="Button">

<Grid>

<Grid.Resources>

<Colorx:Key="LinearBevelLightStartColor">#FFFFFFFF</Color>

<Colorx:Key="LinearBevelLightEndColor">#F4E2E0E0</Color>

<Colorx:Key="LinearBevelDarkStartColor">#E0E5E5E5</Color>

<Colorx:Key="LinearBevelDarkEndColor">#B2FFFFFF</Color>

<Colorx:Key="MouseOverLinearBevelDarkEndColor">#7FFC1717</Color>

<Colorx:Key="HoverLinearBevelLightStartColor">#FCFFFFFF</Color>

<Colorx:Key="HoverLinearBevelLightEndColor">#EAFFFFFF</Color>

<Colorx:Key="HoverLinearBevelDarkStartColor">#D8FFFFFF</Color>

<Colorx:Key="HoverLinearBevelDarkEndColor">#4CFFFFFF</Color>

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

Tags:Silverlight 苹果 Mac

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