Skip Navigation LinksHome / News / View News

Styles in Silverlight: an Introduction

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jul 26, 2010
(0 votes)
This article is part 1 of a series in which Gergely Orosz is going to cover everything that worths knowing about styles in Silverlight 4.

Styles in Silverlight are a powerful mechanism that allow controlling the visual representation of elements in a unified way for all user interface elements. The concept is similar to using CSS to control the look and feel of HTML.

Style properties differ by element type. For example on a TextBlock (a text element) one can style the FontSize, FontFamily, Foreground and lots of other properties. On an Ellipse however none of these properties can be set, on the other hand it does provide for example the Fill property, that the TextBlock does not.



Comments RSS RSS
No comments

Add Comment


Please add 3 and 4 and type the answer here:

Join the free SilverlightShow webinar 'Silverlight's Power Features: Data Binding in Action' on August 19th 2010, 10:00 am PDT.
In this session Gill Cleeren will make with a complete overview of the data binding features Silverlight 4 has to offer. He will discuss how data binding is the enabler for applying the MVVM pattern and commanding, and will end up reviewing Blend's support for data binding, including the use of design-time data. Read more | Register Now (hide this)