首页 > 其他 > 详细

阴影效果DropShadowEffect

时间:2015-10-02 23:38:31      阅读:188      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!