开发者

How to get the default syle of my Button in WPF?

开发者 https://www.devze.com 2022-12-25 02:49 出处:网络
I have create a Button style under Resource folder of the main application. I have added the reference of this button syle in the App.xml of the main application.

I have create a Button style under Resource folder of the main application. I have added the reference of this button syle in the App.xml of the main application.

Now this style is applicable to all the b开发者_如何学运维uttons in the main application or any other assembly.

I want if I want to override my custom style of button to the normal button style , what should I do ??

Please help !!


if you don't want your custom style to be applied in Button just set Style={x:Null}.

0

精彩评论

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

关注公众号