码迷,mamicode.com
首页 > 其他好文 > 详细

阴影效果DropShadowEffect

时间:2015-10-02 23:39:19      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:

<TextBlock FontSize="20" Margin="3">
 <TextBlock.Effect>
 <DropShadowEffect></DropShadowEffect>
 </TextBlock.Effect>
 <TextBlock.Text>Basic dropshadow</TextBlock.Text>
</TextBlock>
<TextBlock FontSize="20" Margin="3">
 <TextBlock.Effect>
 <DropShadowEffect Color="SlateBlue"></DropShadowEffect>
 </TextBlock.Effect>
 <TextBlock.Text>Light blue dropshadow</TextBlock.Text>
</TextBlock>
<TextBlock FontSize="20" Foreground="White" Margin="3">
 <TextBlock.Effect>
 <DropShadowEffect BlurRadius="15"></DropShadowEffect>
 </TextBlock.Effect>
 <TextBlock.Text>Blurred dropshadow with white text</TextBlock.Text>
</TextBlock>
<TextBlock FontSize="20" Foreground="Magenta" Margin="3">
 <TextBlock.Effect>
 <DropShadowEffect ShadowDepth="0"></DropShadowEffect>
 </TextBlock.Effect>
 <TextBlock.Text>Close dropshadow</TextBlock.Text>
</TextBlock>
<TextBlock FontSize="20" Foreground="LimeGreen" Margin="3">
 <TextBlock.Effect>
 <DropShadowEffect ShadowDepth="25"></DropShadowEffect>
 </TextBlock.Effect>
 <TextBlock.Text>Distant dropshadow</TextBlock.Text>
</TextBlock>

 

阴影效果DropShadowEffect

标签:

原文地址:http://www.cnblogs.com/xlyg-14/p/4852829.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!