- UserControl is easier to create.
- UserControl defines its User Interface in the plain xaml file.
- User control also can be added in your toolbox. It is a tightly coupled control with respect to your code .
- Once u use UserControl in UI it is fixed can’t be changed in ur referenced projects.
- UserControl derives from System.Windows.Controls.UserControl.
- UserControls can’t be, themeable , or skinnable(only child controls of usercontrol are skinnable).
- UserControl is a set of Controls
CustomControl
- CustomControl Is harder to create
- CustomControl defines it's User Interface in ResourceDictionary generally called it generic.xaml
- CustomControl Full Toolbbox Support .It is a loosely coupled control with respect to your code.
- CustomControl Gives much more flexibility & u are freedom to use(can be changed) it in ur any referenced Projects.
- CustomControl Derives from System.Windows.Controls.Control Class ,
- CustomControl Canbe Themeable,Skinnable
- CustomControl generally Defines in a single control
No comments:
Post a Comment