To apply the same style to all the elements of a particular type on a Window or UserControl, say all Labels, you need to specify the TargetType attribute of the Style:
All the labels on the Window will now have the properties specified in this style.
No comments:
Post a Comment