WPF: CustomControl or UserControl?

March 23, 2010

While designing anew window, WPF architecture, I needed a NumericUpDown Control. Since the current SDK is missing this control I have found myself asking the question…   CustomControl or UserControl? So, what is the main difference and what should we use?! By MSDN: UserControl: Provides a simple way to create a control. CustomControl: Represents the base class for user interface (UI) elements that use a ControlTemplate to define their appearance. So, now we can see that the main difference between them is that the CustomControl basically build by using the ControlTemplate....
one comment