WPF Development Using .NET - 3 day course
Can't see a suitable date or location?
Click here to register your interest in this course and we will
keep you informed when any new dates are added.
Synopsis
This 3-day course provides a comprehensive introduction to creating Windows Presentation Foundation applications using C#, Visual Studio, and the .NET framework. You will learn how to create applications that provide a rich graphical interface employing a wide range of controls and multiple forms. You'll learn how to access data within the file system and to use data binding to automatically populate controls from data sources including SQL Server databases. Finally, the course looks at the options for deploying applications onto target systems.
Approximately 50% of the course time is spent in "follow-along" activities and hands-on exercises. Note that Impartica provides a PC for each student; we do not ask attendees to share.
The course targets versions 3.5 and 4 of the .NET framework. A reasonable knowledge of C# is assumed. Impartica's 2-day course "Programming with C#" provides an ideal background and the courses may be run back-to-back to provide a week-long event.
Duration
3 days
Cost
£995 plus VAT
Prerequisites
Detailed course contents
Chapter 1: Introducing WPF
- Types of WPF application
- Standalone Applications
- Browser Applications
- Introducing XAML
- Creating a control in XAML
- Comparison: creating a control in C#
- Compiled XAML
- Creating a WPF application in Visual Studio
- Visual Studio WPF templates
- The structure of a WPF application
- Using the design surface and the toolbox
- Handling events
- The application object and its events
Chapter 2: XAML
- An XML primer
- Elements, tags and attributes
- XAML syntax
- The root element
- Elements vs attributes in XAML
- Converting XAML strings to .NET types
- Mark-up Extensions
- Name spaces
- .NET name spaces
- XAML name spaces
- Resources
- Styles
Chapter 3: Controls
- WPF control inheritance hierarchy
- The control class and control templates
- Creating controls at design time
- Creating controls at run time
- Content controls
- Button and RepeatButton
- CheckBox and RadioButton
- Label
- The Expander control
- The TabItem control
- The TextBlock and TextBox controls
- PasswordBox
- Tooltips
- Event handlers
- Shared event handlers
- Routed events
- Bubbling events
- Tunnelling events
- Item controls
- ListBox and ComboBox
- TreeView
- Other control types
- Properties and dependency properties
- The Window class
- Controlling Appearance
- Size, margins and padding
- Alignment and visibility
- Transformations
- Scaling, rotating and skewing
Chapter 4: Layout and Container Controls
- Panel
- GroupBox
- Grid
- Splitter bars
- StackPanel
- WrapPanel
- DockPanel
- Canvas
Chapter 5: Menus, toolbars and status bars
- Menus and MenuItems
- Context menus
- Toolbars
- Status bars
Chapter 6: Dialogs
- Common dialogs
- The MessageBox
- OpenFileDialog
- SaveFileDialog
- PrintDialog
- Custom dialogs
- Modal dialogs
- Modeless dialogs
Chapter 7: Multimedia content
- Sound
- The SoundPlayer class
- The MediaPlayer class
- Images
- The Image Control
- Painting with an ImageBrush
- Applying transformations to images
Chapter 8: Data Binding
- Binding sources
- The Binding object
- OneWay and TwoWay binding
- Binding to another control's properties
- Binding to arrays and .NET collections
- Binding to DataSets, DataTables and DataViews
Chapter 9: Deployment
- XCOPY deployment
- .NET Framework Availability
- Click-once deployment
- Choosing a publish location
- Update policy
- Publishing options and pre-requisites
- Click-once pros and cons
- Setup and deployment (.msi) projects
- Setup project editors
- Configuring the target file system
- Creating short cuts
- Deploying and installing the application
Can't see a suitable date or location?
Click here to register your interest in this course and we will
keep you informed when any new dates are added.