IntroductionIn 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 2010As we know Data Context property is missing in VS 2008, see below figure:But in VS 2010, we have not only the property has added but with a great support for Data Context.Choosing SourceChoosing 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.Choosing PathSimilar 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.Choosing ConverterAs 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.Choosing OptionsWe have a list of options to give when we bind. Such as Mode, UpdateSourceTrigger…, even we can include the ExceptionNotification or validations options also.With String Format OptionHere 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.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: