Of course you will want to create a rich appearance for your Silverlight application. You'll make choices about your design. What font size and family will you use? How much space will you place between your objects? What size of text boxes and buttons will you use?
As you'll learn in this chapter, you can control the styles of your Silverlight application's UI elements in several ways. The first approach you will explore is the straightforward use of inline properties. Then you will look at how to define and apply Silverlight styles.
You can simply define style properties directly in the object definitions. As an example, the following code snippet sets the
FontWeight, and ...