views:

51

answers:

1

Hi,

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

For example, style an image within a button, without styling all images?

+3  A: 

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

David Schmitt