开发者

WPF - Implicitly style control within another control

开发者 https://www.devze.com 2022-12-19 10:16 出处:网络
Is it possible in WPF to implictly style a control that sits within another control? For example, sty开发者_Go百科le an image within a button, without styling all images?You can insert the style into

Is it possible in WPF to implictly style a control that sits within another control?

For example, sty开发者_Go百科le an image within a button, without styling all images?


You can insert the style into the ResourceDictionary of the Button. Then it only applies to contained images.

0

精彩评论

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