Difference between User Control and Custom Control | User Control vs. Custom Control
Difference between User Control and Custom Control
User Controls |
Custom Controls |
---|---|
User Controls are easy to use. | Custom Controls are difficult to use. |
it has limited support. | it has full support. |
It can be used within same project | It can be used across many project |
A separate copy of the control is required in each application. | Only a single copy of the control is required, in the global assembly cache. |
Can not be added to the Toolbox. | Can be added to the Toolbox. |
Good for static layout. | Good for dynamic layout. |
User controls provide less flexibility than Custom controls. | Custom controls provide flexibility than User controls. |
System.Windows.Controls.Control | System.Windows.Controls.UserControl | Custom.UserControl |
System.Windows.Controls.Control | Custom Control |