WPF阴影效果(DropShadowEffect)

WPF阴影效果(DropShadowEffect)

 

  1. <TextBlock Text="阴影效果" FontSize="32">  
  2.           <TextBlock.Effect>  
  3.               <DropShadowEffect Color="Black"></DropShadowEffect>  
  4.           </TextBlock.Effect>  
  5.       </TextBlock>  
  6.   
  7.       <TextBlock Text="阴影效果" FontSize="32" Canvas.Top="50">  
  8.           <TextBlock.Effect>  
  9.               <DropShadowEffect Color="Black" BlurRadius="10"></DropShadowEffect>  
  10.           </TextBlock.Effect>  
  11.  </TextBlock>  

 

 

 


posted @ 2018-11-03 16:41  风雪江山  阅读(521)  评论(0编辑  收藏  举报