DCSIMG
PDC09,.NET - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » PDC09 » .NET (RSS)

Sela Developer Practice – Take Two

I’m enjoying PDC09 at LA. As a part of Sela representatives here I am participating at lectures and meetings with many key professionals from Microsoft and other companies. After getting back from PDC I’ll participate at Sela Developer Practice (SDP) – a special conference which will bring the latest news in the development area. Save the dates 27-30 December . Now I could announce, that all Silverlight session at SDP will be about Silverlight 4!   I have very exciting stuff to share and cool...

Silverlight 4: New features overview (Part 5) – DataBinding improvements

Silverlight 4 introduces improvements in DataBinding. between the improvements are IDataErrorInfo support, ability to bind to DataObjects, StringFormat, TargetNullValue, FallbackValue support and many others. This post will show how to use StringFormat, TargetNullValue and FallbackValue while databinding. For show the new features I’ve created sample application –> it will display values bounded to number of DependencyProperties defined in code behind. In code behind I’ve created number of Dependency...

Silverlight 4 Quick Tip: Styling application

Silverlight 4 supports default styles. Default styles are styles with TargetType, but without x:Key property set. Those styles will be applied to all controls from corresponding type. The sample of default (also sometime called anonymous) style: < Style TargetType ="Button"> < Setter Property ="Margin" Value ="5"/> < Setter Property ="Width" Value ="100"/> < Setter Property ="Height" Value ="25"/> < Setter...

Silverlight 4: New features overview (Part 2) – Printing Support

In previous part (here) I’ve created sample application which uses Webcam and captures the image. In this post I’ll show how to print received image (and any part of the UI) to a printer. In Silverlight 4 we got new class, called PrintDocument which is a part of “System.Windows.Printing” namespace. This class provides a number of events, which helps to control the printing job: StartPrint – occurs right after printer selection dialog successfully returns, prior the first page print PrintPage – occurs...

Silverlight 4: New features overview (Part 1) – Webcam/Mic Support

This post starts a series of post about new features in Silverlight 4 Beta released at PDC 09. Today I’ll show how to use Webcam/Mic support feature in the new version. In order to use the Webcam/Mic the user should has valid drivers installed. To see which from installed drivers could be used open Silverlight Configuration and select 4th tab: This tab also allows to select default webcam/mic to use with Silverlight applications. Webcam/Mic controlled by CaptureSource class. This class allows to...

PDC09 – Day 2 – Keynotes – Live blogging

PDC09 – Day 2 – Keynotes – Live blogging Like yesterday we are sitting in amazing place 8 row just in front of the stage creating a homorganic row of blue shirts (There is a power in numbers). Even that this happened after an hour of the keynotes I need to put this first : FREE LAPTOP !!! Steven just Announced that we all going to get a FRESH NEW LAPTOP from Acer to all. The crowed just jumped out of their chairs for that. When we first come to the PDC we asked our self what will be the “Gift” this...

Silverlight Tip: Enumerating embedded resources

Today I’ve got a “Call for Help” from one of Silverlight MVPs – Bill Reiss . The mail said: “I would like to enumerate all items that were marked as Content or Resource in the main XAP file. If I can’t do both I’d settle for one. Any sample code for this would be greatly appreciated. Bill”   I decided to help with embedded resources, because I did something like this in WPF. I’ve created sample application, which will display a list of resources in list box – from here it is very easy to use...