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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.