Silverlight 2 Knowledge Base

Edit

User Controls and Custom Controls

You can develop user controls or custom controls with Silverlight. User controls are much easier to developed but custom control allows capabilities such content template and data binding. For a decision guide, see this blog.

Edit

Developing Custom Controls

For quick overview of options, please visit Jesse Liberty's blog.

This article talked about how to create an control based on an existing control.

This and this articles talked about how to create an control based on ContentControl which allows user to supply a template to customize the look-and-feel of the control.

To dive deeper, visit the whole series of blog posts by Jesse Liberty. Pay attention to Dependency Properties.

Edit

Other Articles


(c) Li Chen 2008. ScrewTurn Wiki version 2.0.37. Some of the icons created by FamFamFam.