March 2010
Intermediate to advanced
1216 pages
33h 44m
English
A good way to get started with custom controls is to take a crack at creating a straightforward user control. In this section, we'll begin by creating a basic color picker. Later, you'll see how to refactor this control into a more capable template-based control.
Creating a basic color picker is easy—in fact, several examples are available online, including one with the .NET Framework SDK (available at http://code.msdn.microsoft.com/wpfsamples). However, creating a custom color picker is still a worthy exercise. Not only does it demonstrate a variety of important control building concepts, but it also gives you a practical piece of functionality.
You could create a custom dialog box for your color picker, ...
Read now
Unlock full access