Windows Presentation Foundation Programming Using Visual Basic.NET (Canada) Hands-On Technology Transfer
Delivery Method
Seminar
Target Audience Computer Industry Professionals
Summary This course provides students with hands on experience using Visual Studio to create Windows Presentation Foundation (WPF) applications using VB.NET
Description/Agenda
This course provides students with hands on experience using Visual Studio to create Windows Presentation Foundation (WPF) applications using VB.NET. This class provides a thorough introduction to the VB.NET programming language, including coverage of the essentials of the VB.NET programming language, built in data types, operators, control structures, classes and methods.
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 a scripting or programming language is required.
Introduction to .NET
- Overview of the .NET Framework
- How .NET is Different from Traditional Programming
- Common Language Runtime (CLR)
- Common Language Specification (CLS)
- Common Type System (CTS)
- .NET Assemblies
- Microsoft Intermediate Language (CIL)
- .NET Namespaces
- .NET Framework Class Library
Introduction to Visual Studio
- Setting Profiles
- Creating a Project
- Using the Code Editor
- Setting Project Properties
- Adding References
- Compiling a Program
- Running a Program
- Debugging a Program
- Using the MSDN (Help)
Language Fundamentals
- VB.NET Program Structure
- Defining Namespaces
- Using VB.NET's My Namespace
- Understanding VB.NET Data Types
- Defining Variables and Constants
- Comparing Value Types versus Reference Types
- Working with Operators and Expressions
- Performing Type Conversions
- Using Console I/O
- Formatting Numbers, Date and Times
Conditionals and Looping
- If
- If/Else
- If/ElseIf/Else
- Select Case
- Do/Loop
- While
- For/Next
- For Each/Next
Procedures and Parameters
- Subroutines vs. Functions
- Defining Static and Instance Procedures
- Passing Parameters by value and by reference
- Overloading Procedures
- Using Variable Length Parameter Lists
Exception Handling
- What are Exceptions?
- .NET Exception Hierarchy
- Catching Exceptions
- Throwing Exceptions
- Managing Resources with Finally
- Defining Custom Exception Types
Collections
- Defining and Using Arrays
- Understanding System.Array
- Using .NET Collections
- Working with ArrayLists and Hashtables
- Using .NET Generic Collections
- Working with Lists and Dictionaries
- Introducing LINQ
Object-Oriented Programming
- Overview of Object-Oriented Programming
- Working With Enumerations
- Defining and Using Classes
- Extending .NET Classes via Inheritance
- Defining and Implementing Interfaces
- Understanding the Role of Interfaces in .NET
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
- Bindi
|
Frequently Asked
Questions
Payment Options
Bill Me/Invoice
Credit Card
Register
Online
Fax Form
Availability
Select a date from the list at the bottom of the page for specific information about that class.
Other Information
Seminar |
|