WPF阴影效果(DropShadowEffect) 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>  

 


  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>  

 

猜你喜欢

转载自www.cnblogs.com/nimorl/p/9901254.html
今日推荐