First time I had to build my own silverlight control, I asked myself a simple question: From where should I start?
Usually, I start by defining the control specific properties that I will implement as a dependency property, after that I specify the default look for this control.
Through this tutorial, we will build a round button control that could be easily personalized.
Now, let’s open Visual Studio, select NewProject, choose silverlightApplication, follow the wizard and you will get two projects: A webApplication and a silverlightProject.
The Next step is to create a silverlight library. To do this, select the solution explorer right click and choose add NewProject. This time choose silverlightLibary and follow the wizard.
You will end up with something like this: