Paint Application In Silverlight 3 - Part I

In this article we will try to incorporate the drawing in Silverlight 3.

Creating the Silverlight Project

We will create a simple Silverlight Project and name it as SilverlightPaintApplication.

Figure 1.1 Creating Silverlight Project

Designing our Sample Application

I have used Blend 3 for designing the application. We will do some simple things like when user clicks one color; the user can draw in that particular color. We can change the Drawing Pen based on the user selection. And the user can change the Brush Size and Opacity. Last but not the least the drawings can be cleared at any time. Now follow the image below to know more about the application design.

Figure 1.2 Designing the Application in Blend 3

Figure 1.3 Control Hierarchies

Follow the XAML Code below to understand and correlate in a better way.