This course is provided by Wintrac. Wintrac provides one stop shopping for all your IT training needs. Wintrac’s course catalog of over two thousand courses includes courses on .NET training
.NET Training Overview
Microsoft’s Silverlight is a new client-side Web technology that enables the implementation of visually stunning Web applications that depend only on a small, easy-to-install plug-in that works in browsers for both Windows and Macintosh. Silverlight 2 provides a cross-platform and cross-browser implementation of the .NET Framework. Silverlight applications can be implemented in .NET languages such as C# and Visual Basic as well as in JavaScript. This two-day course provides the C# programmer with a thorough foundation in Silverlight 2. After introducing the Silverlight plug-in and SDK and the programming model for Silverlight, the course provides a thorough survey of Extensible Application Markup Language (XAML), which is also the foundation of Windows Presentation Framework (WPF). The course then shows how to use Silverlight to draw shapes, lines, text and images. The positioning and transformation of elements is covered. Event handling is covered. The course concludes with an introduction to Silverlight animation and the use of video and audio.
.NET Training Audience
Programmers needing to create web applications using Silverlight
.NET Training Prerequisites
A basic understanding of Web application development using HTML and programming experience in .NET using C#. Some exposure to JavaScript would be helpful but is not essential.
.NET Training Course duration
2 days
.NET Training Course outline
Introduction to Silverlight
What Is Silverlight?
Silverlight and AJAX
Silverlight and Flash
Installing the Silverlight Plug-In
Silverlight SDK
Hello Silverlight
Allowing Blocked Contact
Default.html
Page.xaml
XAML
<embed> Tag
XHTML
Using JavaScript
createSilverlight.js
Using createObjectEx()
Width and Height in Per Cent
Providing for User Plug-In Download
Automatic Plug-In Download
Programming Silverlight
Silverlight Programming Models
Interactive JavaScript Applications
Using the Document Object Model
Default.html
JavaScript Code
XAML Files
Using Visual Studio 2008
Hosting the Silverlight Application
Page.xaml
Designer Support
Split Window Layout
Layout Panels
Using a StackPanel
Handling Events in Managed Code
Events with Visual Studio
Code-Behind File
Names of XAML Elements
Silverlight Controls
Using XAML
Windows Presentation Framework
What Is XAML?
Missing XML Namespace
Default Namespace
<TextBlock> as the Root Element
Canvas
An Opaque Ellipse
Property Element
Type Converters
Content Element Syntax
Collection Syntax
Implicit Collection Syntax
Attached Properties
XAML and C#
Assigning Property Values
Using the XAML Namespace
Assigning Simple Properties
Properties Attached to Canvas
Assigning Attached Properties
XamlReaderLoad()
BrushFromString()
Navigating from the Root
Page.xaml
Code-Behind File
Using an Event Sender
Handling an XAML Event
Shapes and Lines
Shapes
Size and Position
Rectangle and Ellipse
Page.xaml
Page.xaml.cs
More Shape Properties
Opacity and Visibility
Receiving Mouse Events
Polygon
Line
Dashed Lines
Polyline
Path
Arc Segments
Bezier Curves
Clipping
Texts and Fonts
TextBlock
Text Wrapping
Font Attributes
Font Families
Font Weights
Additional TextBlock Properties
TextBlock Dimensions
Rich Text Content
Run and LineBreak
Brushes and Images
Brushes
SolidColorBrush
Predefined Color Names
RGB Color Space
Enhanced RGB Color Space
Gradient Brushes
Linear Gradient Brushes
Default Gradient Axis
Horizontal and Vertical Gradient Axis
Color Interpolation Mode
Spread Methods
Repeat and Reflect
Alpha Channel Changes
Painting Other Shapes
Radial Gradient Brushes
GradientOrigin
ImageBrush
Using an ImageBrush with Text
Image
Stretch Property
Code-Behind File
Layout and Transforms
Layout in Silverlight
Controlling and Size
Margin and Padding
Thickness Structure
Alignment
Panels
Grid
Star Sizing
Gird.ColumnSpan
Positioning on a Canvas
Moving Elements
Z-Order
Clipping
Transforms
Translate Transform
A Dynamic Transform
Rotate Transform
Scale Transform
Skew Transform
Combining Transforms
Handling Events
Events in Silverlight
Event Handlers in XAML
Adding/Removing Event Handlers
Loaded Event
Mouse Events
MouseEventArgs
C# Code
Rubber-Band Drawing
Naïve Implementation
drawRect() Helper Function
Final Implementation
Drag and Drop
Drag and Drop – XAML File
Drag and Drop – Code-Behind
Capturing the Mouse
Bubbled Events
Animation and Media
Manual Animation
Silverlight Animation
Storyboard Methods
User Interface
DoubleAnimation
ColorAnimation
ColorAnimation – Code-Behind
PointAnimation
Audio and Video
Resources
Loose Files as Resources
Appendix A Learning Resources
Please contact your training representative for more details on having this course delivered onsite or online