crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

difference between custom and user control in WPF
Question Posted on 22 Sep 2011Home >> 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



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap