开发者

HOW can I Achieve A Transparen Screen On My button Click Event In wpf

开发者 https://www.devze.com 2023-01-03 06:57 出处:网络
I want to showA Panel on My Button Click Event And I want There is A transparent Screen Come between panel And other window Control . How C开发者_JAVA技巧AN i Do it ?

I want to show A Panel on My Button Click Event And I want There is A transparent Screen Come between panel And other window Control . How C开发者_JAVA技巧AN i Do it ? i m doing it all dynamic using C# not In xaml.

Thanks in Advance shashank


Create a rectangle and set its opacity to the required value which will act as a transparent. Finally add your panel and this rectangle to the layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消