开发者

WPF - Implicitly style control within another control

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜