Silverlight 4, Implicit styling and TargetTypes

4 Mar

One of the new features in Silverlight 4 is implicit styling (thank you, Microsoft!). To prevent unwanted surprises of inheritance there some limitations. It’s only possible to set the exact TargetType on a style that you wish to use. Hence it’s not possible to set TargetType to ButtonBase and let all types of buttons (Button, CheckBox, RadioButton…) implicit use the style.

http://www.silverlightshow.net/items/Implicit-Styles-in-Silverlight-4.aspx

by xamlgeek

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: