Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
TurboGears
Zend
Express
Play
CodeIgniter
Vue
Symfony
Ember
Flask
Web2py
 Laravel
 :) Hot Jobs
 
 :) Latest Articles


  

 
Dhoti Patiyala


difference between custom and user control in WPF
Question Posted on 22 Sep 2011

Home >> Frameworks >> WPF >> difference between custom and user control in WPF




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.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Namespace needed to host wpf control on window application
What are the major subsystem of WPF
Name the different layout panel of WPF
difference between custom and user control in WPF
can we unable spell checking in WPF TextBox






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |