Creating Custom Controls


When designing user interfaces in any technology, you ideally want to encapsulate the look and behavior of commonly used user interface elements into a reusable component that you can use elsewhere in your application or even in other applications. Creating custom controls also reduces the amount of code required in the code-behind, simplifies the XAML in your views, and helps maintain a consistency in your user interface.


State Group Dependency Property Custom Control Control Template Content Control 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Chris Anderson 2010

Personalised recommendations