Windows Presentation Foundation Training

Windows Presentation Foundation Training

Courses Near You






   

Windows Presentation Foundation Programming Using C#

Duration: 5 Days | Price: $2595 | Class Dates:

Students Will Learn:
  • .NET Framework Architecture
  • C# Language Syntax
  • Managing Run-time Exceptions
  • WPF Application Architecture
  • XAML Syntax
  • WPF User Interface Design
  • Using Dialogs to Communicate with the User
  • Audio, Video and Still Image Processing
  • Database Access Techniques Using ADO.NET
  • Data Binding Techniques to Reduce Code
  • WPF Application Deployment Options

Course Description: This course provides students with hands on experience using Visual Studio to create dynamic Windows Presentation Foundation (WPF) applications using C#. This class provides a thorough introduction to the C# programming language, including coverage of the essentials of the C# programming language, built in data types, operators, control structures, classes and methods.

Students will learn the basics of XAML and how it, combined with C#, 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.

Course Prerequisites: Knowledge of fundamental XML syntax is helpful, but not required. Prior experience with a scripting or programming language is required.

Windows Presentation Foundation Programming Using C# Course Overview:

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
  • C# Program Structure
  • Defining Namespaces
  • Understanding C# 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/else
  • switch
  • while and do/while
  • for
  • foreach
Functions and Parameters
  • Defining Static and Instance Functions
  • Passing Parameters by value and by reference
  • Overloading Functions
  • 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
    • 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

Student Testimonials

"The instructor has been a great teacher and I would recommend him to everyone I know. HOTT’s organization has been top notch from the training to my flights and hotel."
– R.L., IT Associates

Multiple Training Locations - Convenience and Cost Control

Regularly Scheduled Courses in more than 75 Cities Across North America and the United Kingdom

Hands On Technology Transfer, Inc.
1 Village Square, Suite 8
14 Fletcher Street
Chelmsford, MA 01824
1-800-413-0939 | 1-978-250-4299

Copyright© Hands On Technology Transfer, Inc.