Professional Documents
Culture Documents
Name Shashank Upadhyay Title Microsoft Student Partner
Name Shashank Upadhyay Title Microsoft Student Partner
Name Shashank Upadhyay Title Microsoft Student Partner
Common
Common Language
Language Runtime
Runtime
XAML
XAML
Presentation Core
Integrated
DOM JavaScript
Networking Installer
Integration Engine
Stack
Browser Host
A few more applications
Cross-fader
OLYMPICS-08
Creating a custom control
Derive from System.Windows.Controls.Control
Define the look of the control in XAML
Call InitializeFromXaml(xaml) to build the initial
content
Store the return value to manipulate children
Accessing a custom control from XAML
Namespace declaration locates the control
Use it like a regular control
xmlns:local="clr-namespace:SilverlightApp;assembly=ClientBin/AppBinary.dll
Return all players with more than twenty home runs, sorted
var filteredPlayers = from p in players
where p.HomeRuns > 20
orderby p.HomeRuns descending
select p;
HTML access available in new namespace
using System.Windows.Browser;
[Scriptable]
public void Search(string Name) { ... }
Silverlight Blogs
Tim Sneath: http://blogs.msdn.com/tims
Laurence Moroney: http://blogs.msdn.com/webnext
Adam Kinney: http://adamkinney.com
Jesse Liberty: http://silverlight.net/blogs/jesseliberty/
Tim Heuer: http://timheuer.com
Dave Campbell: http://www.wynapse.com/
Please Do not forget to fill the
Feedback forms
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.