WPF Using Visual C#

5 Ratings

Course Number: WPF-310

Duration: 4 days (26 hours)

Format: Live, hands-on

WPF Training Overview

Accelebrate's WPF Training: Windows Presentation Foundation Using Visual C# class teaches attendees all the skills necessary for designing and building an effective WPF application with a flexible and compelling user interface. Significant time is spent on the maintainability and testability of a properly architected WPF application.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

Objectives

  • Understand the WPF architecture and advantages
  • Become proficient with the use of XAML and the layout containers in WPF
  • Achieve reuse and maintainability with resources, styles, and templates
  • Build compelling user experiences with custom drawing and animations
  • Discover the new features available
  • Learn how to properly apply the MVVM design pattern via several case-study applications of increasing complexity

Prerequisites

All students should have a working knowledge of C# and the .NET Framework.

Outline

Expand All | Collapse All

Introduction to WPF
  • Advantages of WPF
  • Resolution Independence and WPF Units
  • Planning for a Flexible UI
  • Designer Improvements
XAML
  • Declarative Approach to UI Design
  • Elements and Attributes
  • XAML Namespaces
  • Property Elements
  • Type Converters
  • Markup Extensions
  • Collection Items
  • BAML and Generated Code
  • Code-Behind Files
Layout
  • WPF's Layout Philosophy
  • Measure and Arrange Stages
  • ScrollViewer Component
  • Alignment and Margin
  • Border Component
  • StackPanel
  • WrapPanel
  • DockPanel
  • Nesting Layout Containers
  • Grid and UniformGrid
  • GridSplitter
  • Canvas
Dependency Properties
  • Change Notification
  • Property Value Inheritance
  • Defining a Dependency Property
  • Registration
  • Property Wrappers
Event Handling
  • Understanding Routed Events
  • Defining a Routed Event
  • Raising an Event
  • Direct, Bubbling, and Tunneling events
  • RoutedEventArgs
  • Drag-and-Drop
  • Asynchronous Event Handlers
  • Weak Event Patterns
Controls
  • Control Base class
  • Content Controls
  • Headered Content Controls
  • Text Controls
  • List Controls
  • Range-Based Controls
  • Date Controls
  • Ribbon Control
The Application
  • Application Events
  • Showing a Splash Screen
  • Assembly Resources
Data Binding
  • Between Elements
  • Binding Modes
  • Path and DataContext Properties
  • Update Modes
  • Input Validation
  • New Features in .NET 4.7
  • Live Shaping
Commands
  • WPF Command Model
  • Bindings, Sources, and Targets
  • ICommand Interface
  • The Command Library
  • Executing Commands
  • Disabling Commands
  • Custom Commands
  • Tracking and Reversing Commands
Resources
  • The Resource Collection
  • Static vs. Dynamic Resources
  • Non-shared Resources
  • System Resources
  • Resource Dictionaries
  • Sharing Between Assemblies
Styles
  • Style Basics
  • Creating a Style
  • Attaching Event Handlers
  • Style Inheritance
  • Typed Styles
  • Property-Based Triggers
  • Event-Based Triggers
Control Templates
  • Logical and Visual Trees
  • Creating Control Templates
  • Templates vs. Styles
  • Typed Templates
  • User-Selected Skins
Formatting Bound Data
  • String Formatting
  • Value Converters
  • Data Templates
  • Data Triggers
Multithreading and WPF
  • WPF Threading Model
  • Thread Safety
  • The Dispatcher Object
  • Using Async and Await
Shapes, Brushes, and Transforms
  • Shape Class
  • Sizing and Placing Shapes
  • Viewbox Component
  • Line, Polyline, and Polygon
  • Brushes
  • Transforms
  • Render vs. Layout Transforms
  • Transparency
Geometries and Drawing
  • Path Class
  • Curves and Lines
  • Clipping
Effects and Visuals
  • DrawingContext Methods
  • Effects
Animation
  • Effective use of Animation in a UI
  • Property-Based Animation
  • Storyboards
  • Easing
  • Performance
  • Microsoft Blend for Visual Studio
Interoperability with Windows Forms
  • Windows Forms Content in WPF
  • WPF Content in Windows Forms
Model-View-ViewModel (MVVM)
  • Definition and Evolution of the Pattern
  • Building Effective ViewModel Objects
  • Leveraging Bindings and Commands
  • Minimizing Code-Behind Files
  • Data Validation and Handling Errors
  • Building Unit Tests and TDD
Universal Windows Apps
  • Overview
  • Device Families
  • UI and Universal Input
  • Windows Store
Conclusion

Training Materials:

All WPF training students receive a hands-on lab manual and a related textbook.

Software Requirements:

  • Windows 8 or later with at least 8 GB RAM
  • Visual Studio with the latest update applied
  • LocalDB
  • Related lab files that Accelebrate provides


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan