SilverlightTutorial

Showing posts with label SilverlightTutorial. Show all posts

You might know that, Silverlight 5 has been already released by Microsoft. During the previous releases of Silverlight 5, I have published many articles on it. Here in this post, I am clubbing all of them so that, it will help you to find them in a single page as a great resource to start with Silverlight 5.

 

Here is a collection of Silverlight 5 Tutorials that you may want to read while working with the Silverlight 5. Find all the links that I have published in my blog. Do you have any feedback or queries? Don’t hesitate to write at least a single line in the Comments Section.

Published by on under Silverlight | Silverlight5

Yesterday we discussed on Silverlight 5 RC Feature called PInvoke. Hope that was informative for you. We learned how to call system APIs from Silverlight application. We demonstrated this using In-Browser application, but you can use that for Out-Of-Browser too easily.

 

In Silverlight 4, if we wanted to access system drive or any files, we had to use the COM APIs and this was only applicable from Out-Of-Browser applications. In this article, we will show you the way to access system resources using PInvoke in Silverlight 5. You can call this directly from Browser applications as well as Out-Of-Browser applications. Read to know more.

Published by on under Silverlight | Silverlight5

Silverlight 5 RC (Release Candidate) has been already released. There are some new features already included in this build. Among them, one most important feature is PInvoke. PInvoke means Platform Invoke. By using this, you can directly talk to system resources without using COM APIs.

 

In this article, we will explore it more and show you how to open the "Run Dialog" directly from the Silverlight 5 application. Here also, we will use In-Browser application which you can easily port to Out-Of-Browser.

Published by on under Silverlight | Silverlight5

As of now, you might know that, Silverlight 5 RC (Release Candidate) has been released by Microsoft on 1st September 2011. If you are not aware of that, or if you didn't yet download the latest bits of Silverlight 5, visit "Silverlight 5 Release Candidate is now Available - Download Silverlight 5 RC" to know about this release as well as download the installer to start developing your applications.

 

So, what's new in this release of Silverlight 5? There are many but in this post, we will discuss about some changes in the Application settings for Elevated Trust for Out-of-Browser and In-Browser applications. What's that? Read more to know about this.

Published by on under Silverlight | Silverlight5

Silverlight 5 Release Candidate is now available from Microsoft. They just released the RC build to public. You will be able to download it freely from Microsoft Download Center.

 

In this post, I am going to share the link of the Silverlight 5 RC Tools for Visual Studio 2010. Download it and start building your application. Make sure that, it's not in "Go-Live" license, so you can't deploy the Silverlight applications build with this release to production. This build is just for the developers to give the developers a chance to test their applications before they release the final version.

Published by on under CodeProject | DZone

Few days ago, I published one article on "Application Library Caching in Silverlight 4". In that article, we discussed about Library Caching concept in detail with a small demo. We discussed various parts of the AppManifest to support this feature for 3rd party libraries. But sometime you may need this feature for your own custom libraries too to reduce the XAP file size by separating the external assemblies in their own ZIP file, which will download by the app when it is require.

 

Let us discuss on this topic today by a small example which will help you to understand how to prepare your dll library to support Library Caching by your application. Read more to learn about it.

Published by on under Silverlight | SilverlightTips

Do you know that, you can now access local files and folders in Silverlight 5? Yes, you heard right. Earlier to Silverlight 5 it was only limited to trusted location like My Documents folder, means it was only possible to read/write in My Documents. Now using Silverlight 5 you can do such operation in any files or folders.

 

Let's discuss more on this topic. After reading this post, you will be able to read/write to/from any file in local file system. Also you will be able to get information about System Resources. Read to know more.

Published by on under CodeProject | Silverlight

Silverlight 5 has another new feature called Ancestor Relative source binding. It was already available in WPF and has been newly introduced in Silverlight 5 beta. Using this, you can now bind to the relative ancestor elements very easily.

 

Let's discuss it with a small example where we will create a Control Template for a Button and bind it's Tag property to the actual element to display text, instead of setting the Content property. Read to know more.

Published by on under CodeProject | Silverlight

Multiple Window support is one of the important feature in Silverlight 5. Using this you can have additional top level Window on top of your trusted Silverlight Out-of-Browser application. Yes, you read correct. It only works in Out-of-Browser Silverlight application and hence you cannot open it inside a browser.

 

So, what is this new Window and how to use it in our application? Let's have some discussion on it. After it you will be able to know about it more.

Published by on under CodeProject | Silverlight

Continuing to our discussion on Silverlight 5 features. In earlier post, we discussed about Text Advancement in Silverlight 5. In this post, we will discuss on another new feature called Binding on Style Setter. This feature is very useful for the XAML designer. If you are a XAML designer, you must be aware of this cool new feature.

 

Read the complete post where we will discuss how we can bind to a Style Setter.

Published by on under CodeProject | Silverlight

Silverlight 5 has now support for Multi Column Text. By using this feature you will be able to show your text content in column wise. If you are working for a news publisher company or want to publish your text content in column format, this feature will help you definitely. If you implemented this in your application, your text content will automatically position itself in next column if user resizes the application.

 

So, want to learn about it? Let's discuss on it with a simple example. Read to know more.

Published by on under CodeProject | Silverlight

There are many new feature announced to support Text advancements in Silverlight 5 Beta. Among them, one is the character spacing. This feature adds spacing between characters inside a TextBlock, RichTextBox and other control elements.

 

In this post we will demonstrate the use of this new feature and also showcase a simple demo to make you understand better. Read it and start learning Silverlight 5 features.

Published by on under CodeProject | Silverlight

ImplicitDataTemplate is a new feature in Silverlight 5. Using ImplicitDataTemplate, you can declare multiple Data Templates for your control and based on the data type, you can load the proper data template automatically.

 

In this article we will discuss on the same step by step with a good example. Read the complete article to know it in depth. Do you have any queries, let me know. Feedbacks are always appreciated.

Published by on under Silverlight | Silverlight5

Today we already discussed about Multiple Click (ClickCount) in Silverlight 5 Beta, which was introduced recently. The step-by-step guide focused on how to implement the double click, triple click using the new ClickCount property. In that post we discussed that, there are some issues with this feature and in this post I am going to describe them for you.

 

Before working with this feature, you must know the pit-falls. This will help you to understand the issue and take care of your code. Read to know more about it.

Published by on under Silverlight | Silverlight5

Some time you need to know whether your user clicked a control once or double clicked it. Sometime you need to know how many click a user did in the UI control. In this post, you will learn about it.

 

Silverlight 5 Beta has been announced with newly added feature called ClickCount. It's a property added to the MouseButtonEventArgs. Using this you will be able to find out how many multiple click happened by the user.

 

Read the complete post to know about the implementation and the issues. Don't forget to provide our feedbacks at the end.

Published by on under Silverlight | Silverlight5

Microsoft Released Silverlight 5 Beta yesterday during MIX11 conference. It has a great new features set. Among them, most demanded feature was Debugging Data Bindings in XAML. In this article, I will step you through the complete debugging feature in Visual Studio for Silverlight 5 XAML page.

 

Read the complete article to know more about it and gather knowledge on the debugging feature with a simple code walkthrough. At the end, don't hesitate to leave your feedback. Queries are welcome. I will try to answer you as much as I can.

Published by on under Silverlight | Silverlight5

All of you are familiar with Silverlight and know how to create a Silverlight project. This post is not for the people, who already worked in Silverlight, but for the people who are very new in this technology and start to work as fresh to make their hands dirty. Also, creating this post to refer the project creation in my upcoming tutorial series.

 

If you are a beginner to Silverlight, read this post to know how to create a Silverlight  project.

Published by on under Silverlight | Silverlight5

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.

Published by on under CodeProject | Silverlight

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.

Published by on under CodeProject | Silverlight

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.

Published by on under CodeProject | Silverlight