Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: Tutorial
Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

So what's the difference between Custom Control and User Control?

That's a good question came up after the series in my blog. Someone asked why should one use Custom Control instead of User Control? Hence, let's extend the series and discuss about that. I apologise the delay of this post. I should explain this at the start of the series, but actually my goal was to explain you how to create and use Custom Control in Silverlight.

 

It is better to do it later than never. Also, you are now familiar with Custom Control creation. Hence, start describing it. You will come to know more about this here. As always, don't forget to share your feedback at the end of this page.



How to access Control Template parts from Code Behind?

Here is the last chapter of the series for Silverlight Custom Control. In this article, we will learn how to access the template parts from code behind to do various operations in the UI front.

 

Hope, you read the previous three articles and familiar with the Custom control as of now. This article will help you to understand accessibility of the template parts from the code. So, let's start discussing now. Appreciate your feedback as always.


How to implement Template Binding in Silverlight Custom Control?

Continuing to our 2nd chapter of the series here on Silverlight Custom Control. In this chapter we will discuss on dynamically setting the Content and other properties to our Custom Control that we implemented earlier. After reading this article, you will be able to create properties and set content dynamically to your control.

 

So, lets start describing them and learn something again today. These series of posts are mainly targeted for beginners but anyone can read it to refresh their learning. Don't forget to leave your comment at the end of the post. Any queries, please drop a line. I will try to help you as early as I can.


How to design a Custom Control by editing the Part Template?

This is a continuation to my previous post "How to create a Custom Control in Silverlight?" In this tutorial part, we will discuss on the template and modify our basic template to give a better look as per our need. In this chapter, we will learn about template Part and how to modify the existing template.

 

Read out more to learn in depth about Custom Control in Silverlight. This will benefit you not only for Silverlight but for WPF and Windows Phone 7 development too. At the end, never forget to provide your feedback.


How to create a Custom Control in Silverlight?

I am working on Silverlight since 3 years and during the initial period I had a fear on creating Custom control. I was more confident creating UserControls during first one and half year of my job. But when I started working on custom controls, I came to know the power of custom control and all the fear gone out of my eyes.

 

It's around 2 years, I am working on it and every time I am exploring some great stuffs. Though it's a long time since Silverlight launched; still, I am seeing the same fear on others and hence decided to write a good series on it (explaining all the details), which will be beneficial for beginners.

 

In this tutorial part, we will discuss on "How to create a Custom Control in Silverlight". This is very basic and will be helpful for a beginner. Don't hesitate to leave your feedback at the end. If you have any query/suggestion/feedback drop a line here. I will try to answer you as early as possible.


Attaching an External DataSource in LightSwitch Application

You might know that, LightSwitch is now in Beta 2 stage. Microsoft released it few days ago. I have a series of Tutorial on LightSwitch Beta 1 where we discussed on creating database tables using the LightSwitch table designer.

 

In this tutorial, we will discuss how to attach an existing database table available in your SQL server database. This was also available in Beta 1 release. This time we will discuss with the latest version. Read the full post and at the end leave your feedback.



Silverlight Tutorials Chapter 4: Introduction to Controls

In my earlier three chapters of Silverlight Tutorial, I described about “Introduction to Silverlight”, “Introduction to Silverlight Application Development” and “Introduction to Panels”. I got lots of responses & wishes from my readers for the next chapter. I know, there was a big gap between these chapters and I am really apologizing to you. Thank you for your passion. Hope, this time also I will get more responses from you. Read the complete tutorial and provide your valuable feedbacks. You suggestions/comments are highly appreciated.

 

In this Chapter, I will describe you about some of the most common controls used in Silverlight. After the end of this section, you will be able to understand about those basic controls and their uses. Here I will guide you to understand some of the properties of each control and how to set them from both XAML & Code behind C# file.


Silverlight Tutorials Chapter 3: Introduction to Panels

In my last chapter i.e. "Silverlight Tutorials Chapter 2: Introduction to Silverlight Application Development" we discussed on how to create a new Silverlight project, the structure of the project solution and later in this chapter we discussed on UserControls and various ways of development. After reading that chapter you are now comfortable to create Silverlight application and UserControls for your application.

Today I am publishing the 3rd Chapter i.e. "Introduction To Panels". In this Chapter I will describe about different Panels available in Silverlight. After reading this chapter you will be familiar with various types of Silverlight Panels. As this tutorial is mainly targeted for Silverlight 4, hence you will find some panels unavailable in the earlier versions of Silverlight.



Silverlight Tutorials Chapter 2: Introduction to Silverlight Application Development

Hope, you read my first chapter of the Silverlight Tutorial “Silverlight Tutorials Chapter 1: Introduction to Silverlight”. In that post, we learned about the very basic informations on Silverlight, it’s System Requirements, pre-requisite to create a Silverlight application, XAP file, XAML file and hosting a Silverlight application.

In this chapter we will first discuss on how to create a new Silverlight project and the structure of it. Later in this chapter we will discuss on UserControls and various ways of development. After reading this chapter you will be able to create a HelloSilverlight application and UserControls for your application.


Silverlight Tutorials Chapter 1: Introduction to Silverlight

Couple of days ago, I started working on writing Silverlight Tutorial for Beginners on request of Mr. Sheo Narayan (Web Master) from DotNetFunda.com. I was busy for last few days to publish it online. I was really excited for it. Today, I am announcing my first Chapter of the Silverlight Tutorial for the public view. It will be a continuous process to complete the full tutorial. Please keep an eye for the next publication.

Please don't forget to provide your comments or suggestions.

In this chapter of the tutorial, you will learn about the very basic information on Silverlight i.e. what is Silverlight, what is the System Requirements for installing Silverlight and the pre-requisite to create a Silverlight application. After reading this chapter you will come to know about XAML, XAP file, Application XAML and how to host a Silverlight application.
 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top