Tuesday, June 14, 2016

Difference Between WPF User Control and Custom Control

User Control: When you need to put some controls together than you use user control. Example is RGB color panel. It is same as window because it has code behind file as well xaml file.
It does not support theming for consumers.It is better to stay with consumer application.

Custom Control: When you wan to extent the funtionality of a given control than use Custom Control Like Numeric Drop down is an extended custom control , Which is build by customizing text box.
It support theming for consumers. It is perfect to be 3rd party conrol.

No comments:

Followers

Link