WPF阴影效果(DropShadowEffect)(转载)

时间:2018-03-15 14:17:51   收藏:0   阅读:1191
<TextBlock Text="阴影效果" FontSize="32">
  <TextBlock.Effect>
    <DropShadowEffect Color="Black"></DropShadowEffect>
   </TextBlock.Effect>
</TextBlock>

<TextBlock Text="阴影效果" FontSize="32" Canvas.Top="50">
    <TextBlock.Effect>
    <DropShadowEffect Color="Black" BlurRadius="10"></DropShadowEffect>
  </TextBlock.Effect>
</TextBlock>

技术分享图片

技术分享图片

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!