SIGN UP MEMBER LOGIN:    
ARTICLE

Possibilities in Silverlight 4 with VS 2010: Part II

Posted by Diptimaya Patra Articles | Silverlight with C# March 08, 2010
In Part I of this article series we have seen some features available to Silverlight 4 with VS 2010. We will continue to explore more in this article.
Reader Level:

Introduction

In Part I of this article series we have seen some features available to Silverlight 4 with VS 2010. We will continue to explore more in this article.

Data Context Editing in VS 2010

As we know Data Context property is missing in VS 2008, see below figure:

image1.gif

But in VS 2010, we have not only the property has added but with a great support for Data Context.

image2.gif

Choosing Source

Choosing a source is very easy in VS 2010, such as if you want to add Element Name or Relative Source just browse through and you will bind to it at ease.

image3.gif

Choosing Path

Similar to selecting Element Name or Relative Source, we can select a Path by Selecting from the List displayed on the left side and choosing from right side pane.

image4.gif

Choosing Converter

As shown in below figure, you can choose your Converter if you have any. It would be listed in the Listbox displayed in the left side.

image5.gif

Choosing Options

We have a list of options to give when we bind. Such as Mode, UpdateSourceTrigger…, even we can include the ExceptionNotification or validations options also.

image6.gif

With String Format Option

Here is the interesting part, we can format our string based on the following values. Sometimes you don't need to type the full string formatting; instead the following shortcuts are used.

image7.gif

 

Login to add your contents and source code to this article
share this article :
post comment
 
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Team Foundation Server Hosting
Become a Sponsor