Hands-On Technology Transfer
presents
Windows Presentation Foundation Programming for Experienced VB.NET Programmers On-Site Training
This course provides students with hands on experience using Visual Studio to create Windows Presentation Foundation (WPF) applications
Course Description/Agenda
This course provides students with hands on experience using Visual Studio to create Windows Presentation Foundation (WPF) applications. Students will learn the basics of XAML and how it, combined with VB.NET, is used to describe the appearance and behavior of WPF applications. Students also learn how to use ADO.NET to interact with data sources and display data. Other topics include examining WPF controls, working with images and multimedia content, scaling, rotating and skewing UI elements, and using WPF's powerful data binding features. Comprehensive labs and exercises provide the students with experience creating and deploying WPF applications. Prerequisites Knowledge of fundamental XML syntax is helpful, but not required. Prior experience with VB.NET is required.
WPF Fundamentals
- WPF Architecture
- Types of WPF Applications
- XAML Overview
- Structure of WPF Windows Applications
- The User Interface Classes
- The Application Class
- Building a WPF Windows Application using Visual Studio
- Designing the GUI
- Using Controls
- Handling Events
- Passing Command-Line Arguments
- Handling Application Lifetime Events
- Working With Configuration Files
Working with XAML
- XAML vs. BAML
- Understanding XAML Markup
- Element and Property Syntax
- XAML Namespaces
- Creating Objects using XAML
- Using Collections in XAML
- Handling Events in XAML
- Working with Resources
- Window vs. Application Resources
- Static vs Dynamic Binding
- Defining and Using Styles
WPF User Interface Basics
- WPF Control Inheritance Hierarchy
- Common Properties
- Common Methods
- Common Events
- Creating Controls at Design Time
- Creating Controls at Run Time
- Classic Properties, Methods and Events
- Dependency Properties
- Configuring a Window
- Controlling Appearance
- Managing Size
- Managing Position
- Managing Alignment
- Managing Visibility
- Using Fonts
- Working with Transformations
- Scale Transformations
- Rotation Transformations
- Skew Transformations
Using WPF Layout Controls
- Advantages of WPF Layout Controls
- Using the Grid Control
- Defining Rows and Columns
- Placing Controls
- Using the UniformGrid Control
- Using the StackPanel Control
- Using the WrapPanel Control
- Using the DockPanel Control
- Using the Canvas Control
- Adding Scrolling Capabilities to Container Controls
- Accessing Child Controls Programmatically
Using WPF Controls
- Button Controls
- Button Characteristics
- RepeatButton
- ToggleButton
- CheckBox
- RadioButton
- Using Labels
- TextBlock
- TextBox
- PasswordBox
- GroupBox
- Image Control
- Using an Expander
- Building Tabbed Windows
- Slider Controls
- Using a ProgressBar
- Adding Tooltips
Using WPF Item Controls
- Working with Controls that Manage Items
- ListBox
- ComboBox
- TreeView
- Menus
- ContextMenus
- Toolbars
- StatusBars
Working with Dialogs
- Dialog Display/Response Paradigm
- MessageBox Fundamentals
- Using WPF's Common Dialogs
- OpenFileDialog
- SaveFileDialog
- PrintDialog
- Working with Modal Dialogs
- Designing Custom Dialogs
- Displaying Modal Dialogs
- Working with DialogResult
- Accessing Dialog Data
- Validating Dialog Data
- Working with Modeless Dialogs
- Displaying Modeless Dialogs
- Firing Events to Notify the Application that Data is Available for
Processing
- Processing Data via a Modeless Dialog
Commands and Routed Events
- Working with Commands
- Purpose and Benefits of Commands
- Using Built-In WPF Commands
- Associating a Command with a Command Source
- Writing a Command Handler
- Binding Commands to Command Handlers
- Defining Custom Commands
- Specifying Key Gestures
- Implementing WPF Routed Events
- Common Routed Events
- Tunneling Events
- Bubbling Events
- Stopping the Tunneling and Bubbling Process
Graphics and Multimedia
- Working with Multimedia Content
- Using the SoundPlayer
- Using the MediaPlayer
- Using the MediaElement
- Working with Images
- Displaying Images
- Painting with Images
- Working with Images in Resource Files
- Programmatically Sizing, Stretching and Rotating Images
Working with ADO.NET
- The ADO.NET Object Model
- Working with Connected vs. Disconnected Access
- Using a Connection to Connect to a Data Source
- Using a Command to Execute Queries and Stored Procedures
- Using a DataReader to Work with Cursors
- Passing Parameters to Stored Procedures
- Using the DataSet with Disconnected Data
- Using DataAdapters with DataSets
Working with Data Binding
- Benefits of Binding Data to Common Language Runtime (CLR) Objects
- Configuring Data Binding
- Binding One Control's Properties to Another Control
- Binding One Control's Properties to Resource Data
- Binding to Data Sources
- Binding to a List
- Binding to an ADO.NET Object
- Binding to an Object
- Binding to XML
- Displaying and Manipulating Data
- Sorting
- Filtering
- Data Templates
Deploying WPF Applications
- Understanding WPF Deployment Options
- Using XCOPY Deployment
- Using Setup Projects to Create Windows Installer Packages
- Using ClickOnce to Publish Self-Updating Applications
|
Add to favorites
Email this page
|