| Below is the difference between custom and user control in wpf both are used in wpf and asp.net both way
CustomControl (Extending an existing control)
1)Extends an existing control with additional features.
2)Consists of a code file and a default style in Themes/Generic.xaml.
3)Can be styled/templated.
4)The best approach to build a control library.
UserControl (Composition)
1)Composes multiple existing controls into a reusable "group".
2)Consists of a XAML and a code behind file.
3)Cannot be styled/templated.
4)Derives from UserControl. | | |