Sharing Skills and Code with Silverlight WPF Sharing

  • Slides: 37
Download presentation

Sharing Skills and Code with Silverlight & WPF

Sharing Skills and Code with Silverlight & WPF

Sharing Skills and Code

Sharing Skills and Code

Why?

Why?

Client Platform Vision

Client Platform Vision

Current State of Microsoft Client Platforms

Current State of Microsoft Client Platforms

You don’t have to be a code ninja!

You don’t have to be a code ninja!

demo A Simple Shared App

demo A Simple Shared App

What Just Happened?

What Just Happened?

Shared Client Platform

Shared Client Platform

Shared Gu Technology

Shared Gu Technology

Shared. NET Framework

Shared. NET Framework

Business Objects

Business Objects

Same References!

Same References!

Core Building Blocks

Core Building Blocks

Improving Compatibility

Improving Compatibility

Silverlight Toolkit

Silverlight Toolkit

Silverlight Toolkit

Silverlight Toolkit

WPF Toolkit and. NET 4

WPF Toolkit and. NET 4

Building Controls

Building Controls

Building Controls

Building Controls

Building Controls Step 1. Basics and C# strategy

Building Controls Step 1. Basics and C# strategy

C# Techniques #if SILVERLIGHT // Silverlight #else // WPF #endif

C# Techniques #if SILVERLIGHT // Silverlight #else // WPF #endif

Source Layout Control. cs ThemesGeneric. xaml

Source Layout Control. cs ThemesGeneric. xaml

Dependency Properties

Dependency Properties

Building Controls Step 1. Basics and C# strategy Step 4. XAML

Building Controls Step 1. Basics and C# strategy Step 4. XAML

XAML xmlns=“http: //schemas. microsoft. com/winfx/2006/xaml/presentation” xmlns: x="http: //schemas. microsoft. com/winfx/2006/xaml" http: //schemas. microsoft. com/client/2007

XAML xmlns=“http: //schemas. microsoft. com/winfx/2006/xaml/presentation” xmlns: x="http: //schemas. microsoft. com/winfx/2006/xaml" http: //schemas. microsoft. com/client/2007

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 5. Default

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 5. Default styles

Default Styles

Default Styles

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 6. VSM

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 6. VSM Step 7. Wild hacks

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 7. Wild

Building Controls Step 1. Basics and C# strategy Step 4. XAML Step 7. Wild hacks

Wild Hacks source. On. Selection. Changed(new Selection. Changed. Event. Args( #if SILVERLIGHT Selection. Changed.

Wild Hacks source. On. Selection. Changed(new Selection. Changed. Event. Args( #if SILVERLIGHT Selection. Changed. Event, #endif removed, added));

Wild Hacks var x = new Global. Exception. Handler(My. Handler); x. Intercept. Unhandled. Exceptions

Wild Hacks var x = new Global. Exception. Handler(My. Handler); x. Intercept. Unhandled. Exceptions = true;

demo Putting it All Together

demo Putting it All Together

Please Complete Session Feedback! http: //silverlight. codeplex. com/ http: //www. jeff. wilcox. name/

Please Complete Session Feedback! http: //silverlight. codeplex. com/ http: //www. jeff. wilcox. name/

Please Complete an Evaluation Form Your feedback is important!

Please Complete an Evaluation Form Your feedback is important!

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows Vista and other product names

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U. S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.