WPF - Creating a custom ItemsControl

EightyOne Unite picture EightyOne Unite · Mar 18, 2009 · Viewed 9.1k times · Source

I'm looking into creating custom controls for WPF and I've found some reasonably useful blogs and such that vaguely go into enough detail but I'm still struggling a bit.

Basically, what I'm trying to create is something akin to the infamous 'Coda Slider' but i just don't know enough to get started properly. Can anyone either point me in the direction of someone/somewhere to give me the low-down on creating custom ItemControls or provide me with the basic information like what ItemsControl members i need to override?

All help would be graciously received.

Answer

TStamper picture TStamper · Mar 18, 2009

Building a custom WPF control is nothing more than writing a class and inheriting the class from a base class that is provided in WPF.

How to Create a Custom WPF Control