Blur the background of the WPF container

后端 未结 4 1663
渐次进展
渐次进展 2020-12-16 17:09

Ultimately, what I want to achieve is a replication to some extend, of an Aero glass functionality of a WPF content control.

If I apply the BlurEffect t

4条回答
  •  借酒劲吻你
    2020-12-16 17:41

    no, it is not possible. The Effect is applied to the element and all its children but you can easily place the TextBlock outside the container, rather than inside it.

    Normally you would use a grid like so:

    
      
         
          
         
      
      
    
    

    In your example that will make no difference though. What, exactly, are you trying to blur?

提交回复
热议问题