User Control vs Custom Control in Silverlight for WP7 - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Thursday, November 17, 2011

User Control vs Custom Control in Silverlight for WP7

In this article I am going to discuss the difference between User Controls and Custom Controls in Silverlight for  Windows Phone 7. Before you begin make sure that you are familiar with the Silverlight Object Trees model. The following topics are also helpful:

When deciding to implement some custom control functionality at first we need to know the difference between Custom Controls and Custom User-Controls. So in this article I will try to help you choose the best option for your WP7 application.

UserControl

Generally a UserControl provides the base class for defining a new control that encapsulates related existing controls and provides its own logic. Custom User-Controls are user controls that can be reused but they can't be skinned or themed.

In Windows Phone 7 Custom  User Controls inherit from (System.Windows.Controls.UserControl) UserControl.

Read More....

No comments:

Post a Comment