Dotneteers.net
All for .net, .net for all!

20 Silverlight 4 demos in one zip file

Last week I gave a 3 hour “What’s new in Silverlight 4” talk to the Hungarian Silverlight UG, the Silverlight Klub. I had a LOT of demos, – most of which I prepared, and some I borrowed. The aim of the demos was to give a small code sample to most new features in Silverlight 4, without going deep. In this blog post, I am making those demos available for the general public in one big download.

The demos:

ClipboadTest: shows off basic Clipboard programmability

CollViewSourceGrouping: Datagrind grouping via CollectionViewSource

ContextMenuDemo: basic ContextMenu usage

CrossDomainAccessTest: Simple twitter feed downloader app that shows how you don’t need a client access policy for OOB Elevated trust applications. Also, automatically requests twitter username / password as the Twitter API requires it, too.

CustomChromeTest: Shows off Elevated Trust features such as rounded borders, custom minimize / maximize / close buttons, draggable areas and window resizing.

DatabindingTest: demonstrates new databinding capabilities of Silverlight 4: FallbackValue, String formatting, accessing indexers and TargetNullValue. Also demonstrates binding to a dependency object.

DynamicLayoutAndTransitions: Kenny Young’s excellent MIX’10 demo upgraded to Silverlight 4 RTM.

FileDropTest: drop an image from your computer onto this Silverlight app, and it will be added to a list. Also, ListBoxItem’s new BeforeLoaded state is shown off.

FileSystemAccessDemo: Lists all files within the user’s Documents folder in an OOB Elevated app.

FullScreenTest: Shows how full screen can be sticky (not cancelled when the app loses focus), and also how elevated OOB apps no longer restrict using the keyboard in full screen.

NativeIntegrationTest: Again, an OOB Elevated feature: launches Microsoft Word and enters some text.

Printing: Shows how to do simple “print screen” printing, and also how to have a report-like multi-page printout (complete with headers, footers) of system colors. The report template is fully editable in Blend. Eat that, Access!

RichNotepad: This is the same demo that Scott Guthrie showed at Mix’10, featuring RichTextbox with embeddable datagrid, image, calendar, right-to-left mode, and printing with print preview.

SelectedValueTest: Testing how SelectedValue and SelectedValuePath work in SL4.

SL4Com: Justin Angel’s scary COM interop demo from the Silverlight 4 Beta age, updated to SL4 RTM. Some demos don’t work as Silverlight security has been tightened since.

SLBrowser: Basic demo of Silverlight 4’s OOB WebBrowser and WebBrowserBrush controls.

ValidationTest: Shows basic (very very basic!) usage of ExceptionValidation, IDataErrorInfoValidation and INotifyDataErrorInfoValidation.

WebcamTest: how to display your webcam’s picture in an Ellipse.

If you also want to have a “What’s new in Silverlight 4” session, I hope the above helped. You may also want to include other features that can easily be shown off without prepared solutions: for example the new Blend and Cider features, Blend’s PathListbox, the new Data pane, implicit styles, the new behaviors. Almost 30 demos were shown in our meeting, and it took three hours to go through them. This just shows how great an increment Silverlight 4 is!

You can download the ZIP file with the above solutions here. Enjoy!


Posted May 25 2010, 12:43 AM by vbandi

Comments

Twitter Trackbacks for 20 Silverlight 4 demos in one zip file - VBandi's blog - Dotneteers.net [dotneteers.net] on Topsy.com wrote Twitter Trackbacks for 20 Silverlight 4 demos in one zip file - VBandi's blog - Dotneteers.net [dotneteers.net] on Topsy.com
on Tue, May 25 2010 9:38

Pingback from  Twitter Trackbacks for                 20 Silverlight 4 demos in one zip file - VBandi's blog - Dotneteers.net         [dotneteers.net]        on Topsy.com

Dew Drop – May 25, 2010 | Alvin Ashcraft's Morning Dew wrote Dew Drop – May 25, 2010 | Alvin Ashcraft's Morning Dew
on Tue, May 25 2010 15:38

Pingback from  Dew Drop – May 25, 2010 | Alvin Ashcraft's Morning Dew

spam-dev wrote re: 20 Silverlight 4 demos in one zip file
on Mon, May 31 2010 4:50

thank you. It is Inspiration to create silverlight project.

1993 - 2007 @ K15 K1500 Pickup Yukon Denali Xl Used Gmc Parts Engines Transmissions, C15 C1500 Suburban Yukon Denali Xl S15 Jimmy Gmc Envoy - 412.ja3ra.com wrote 1993 - 2007 @ K15 K1500 Pickup Yukon Denali Xl Used Gmc Parts Engines Transmissions, C15 C1500 Suburban Yukon Denali Xl S15 Jimmy Gmc Envoy - 412.ja3ra.com
on Mon, May 31 2010 9:04

Pingback from  1993 - 2007 @ K15 K1500 Pickup Yukon Denali Xl Used Gmc Parts Engines Transmissions, C15 C1500 Suburban Yukon Denali Xl S15 Jimmy Gmc Envoy - 412.ja3ra.com

2000 - 1993 @ Somerset Chancellor Court Hotel Vietnam Phan Thiet, Somerset Parts Used Car 1987 Buick - 378.jeepsunlimted.com wrote 2000 - 1993 @ Somerset Chancellor Court Hotel Vietnam Phan Thiet, Somerset Parts Used Car 1987 Buick - 378.jeepsunlimted.com
on Mon, May 31 2010 20:20

Pingback from  2000 - 1993 @ Somerset Chancellor Court Hotel Vietnam Phan Thiet, Somerset Parts Used Car 1987 Buick - 378.jeepsunlimted.com

Pharmf570 wrote re: 20 Silverlight 4 demos in one zip file
on Wed, Jul 14 2010 7:30

Hello! geaefae interesting geaefae site!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?