Chapter 3. Getting Started Writing Custom Controls

WPF represents a fundamental change in how user interfaces are built for the Windows platform. It provides so much more flexibility than its predecessors that one of the worst mistakes a WPF developer can make is assuming that something you had to do in WinForms is also something you have to do with the Windows Presentation Foundation.

One of the biggest pitfalls any of us can make is to create a custom control when we don’t need to create one. Surprisingly, there is a multitude of scenarios where our first instinct is to create a custom control, yet the flexibility of WPF’s templates ...

Get WPF Control Development Unleashed: Building Advanced User Experiences now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.