Sela Developer Practice – Take Two

November 19, 2009

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 demos. As a teaser, could could see what we have already...

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

November 18, 2009

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 Properties to bind to: public DateTime DateValue { get { return (DateTime)GetValue(DateValueProperty); } set { SetValue(DateValueProperty, value); } } // Using a DependencyProperty as the...

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 Property="Background" Value="Red"/> </Style> This style will be applied on any button in the scope of the style. If this style will be placed...

Silverlight 4: New features overview (Part 4) – Out-of-browser applications: even more features

In addition to previous features, Silverlight 4 adds some more nice improvements to Out-of-Browser model. Now it allows to control Top/Left position of the out-of-browser window, bring it to the foreground (if not active), check if the window is topmost and define it’s Width/Height. All those features being exposed by MainWindow object of Application: Additional feature is Notification Window. It is a notification area that is displayed in the system area, at the bottom right part of the screen. In application described at previous post (here) I’ve added a button to show notification...

Silverlight 4: New features overview (Part 3) – Elevated Out-of-browser applications

Silverlight 4 enhances the out-of-browser feature introduced in previous version of the technology. Silverlight 3 added a feature to use application in Out-of-browser mode – install application shortcut to desktop or start menu, and launch it within application launcher (instead of the browser). Along with it, the application still was sandboxed application, with the same set of restrictions, like in browser. Silverlight 4 extends this feature and allows to relax some of the sandbox restrictions while running application with elevated permissions. First, let’s see what will be allowed under elevated permissions… The runtime will allow: ...

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 when page is printing. Allows to...

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 select which capture device to use (Video and Audio) and...

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...

PDC09 Day 1 – Sketch Flow

Live blogging… Last session for today – and it is SketchFlow prototyping with Christian Schormann. The session is good, with very nice demos. Chris talking about SketchFlow in a nutshell - dynamic, interactive prototypes. For modern UX the static mockups are not enough anymore. After short and nice introduction he’s getting to the demos. Describing how SketchFlow built. He is going build the Skateboard shopping application. At this point the session is getting to be pretty close to the SketchFlow session I’ve attended at MIX09. Christian showing the process of building Sketched application, the...
no comments