WPF window shadow effect

后端 未结 1 2007
孤街浪徒
孤街浪徒 2020-12-25 13:26

I am new to WPF technology. I have the following window declaration in WPF:



        
1条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-25 13:56

    DropShadowEffect cannot be applied to a Window. Instead, if you want to override the default window appearance, you have to apply the effect to some other element contained in the window:

    
        
            
                
            
            ...
    
        
    
    

    0 讨论(0)
提交回复
热议问题