Windows Presentation Foundation Programming Using C#
Details
Students then learn how to leverage the power of the .NET Framework to build WPF applications. Students learn the basics of XAML and how to use it to describe the appearance and behavior of WPF user interfaces. Students also learn how to use XAML resources to manage styles, triggers and control templates.
Students learn how use a variety of WPF controls to interact with users and manage data in multi-form applications. Students explore how to leverage the power of XAML data binding. Students also learn the basics of working with audio and images, as well as performing simple animations.
Students learn how to use their data binding and command skills to implement the MVVM design pattern with WPF applications, including case studies.
Other topics include: debugging techniques; building menus, toolbars and status bars; reading and writing files; and deploying WPF applications. Comprehensive labs and exercises provide the students with extensive experience creating and debugging WPF applications.
Prerequisites: Knowledge of fundamental XML syntax is helpful, but not required. Prior experience with a scripting or programming language is required.
Outline
- 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
- Creating a Project
- Using the Code Editor
- Correcting Syntax Errors
- Setting Project Properties
- Adding References
- Compiling a Program
- Running a Program
- Debugging a Program
- Using the MSDN (Help)
- C# Program Structure
- Defining Namespaces
- Understanding C# Data Types
- Defining Variables and Constants
- Comparing Value Types vs. Reference Types
- Working with Operators and Expressions
- Performing Type Conversions
- Using Console I/O
- Formatting Numbers, Date and Times
- if/else
- switch
- while and do/while
- for
- foreach
- Defining Static and Instance Methods
- Passing Parameters by value and by reference
- Overloading Methods
- Using Variable Length Parameter Lists
- What are Exceptions?
- .NET Exception Hierarchy
- Catching Exceptions
- Throwing Exceptions
- Managing Resources with Finally
- Defining and Using Arrays
- Understanding System.Array
- .NET Collections vs Generic Collections
- Working with Lists
- Working with Dictionaries
- Using LINQ to Objects
- Overview of Object-Oriented Programming
- Building Classes
- Defining Properties
- Using Auto-Implemented Properties
- Defining Methods
- Understanding Constructors
- Extending .NET Classes via Inheritance
- Defining and Implementing Interfaces
- Understanding the Role of Interfaces in .NET
- WPF Applications
- Types of WPF Applications
- Structure of WPF Applications
- Using the WPF Designer
- Setting Properties
- Handling Events
- Using the MessageBox Class
- Passing Command-Line Arguments
- Handling Application Lifetime Events
- XAML vs. BAML
- Understanding XAML Markup
- XAML Elements
- XAML Namespaces
- Creating Objects using XAML
- Working with Resources
- Handling Events in XAML
- Working with Resources
- Defining and Using Styles
- WPF Control Hierarchy
- Common Properties, Methods and Events
- Dependency Properties
- Configuring a Window's Properties
- Adding Controls
- Controlling the UI's Appearance
- Managing Size
- Managing Position
- Managing Alignment
- Managing Visibility
- Using Fonts
- Working with Transformations
- Scale Transformations
- Rotation Transformations
- Skew Transformations
- Overview of Layout Elements
- Using the Canvas
- Using the StackPanel
- Using the WrapPanel
- Using the Grid
- Using the UniformGrid
- Using the DockPanel
- Using the ViewBox
- Adding Scrolling Capabilities
- Working with WPF Controls
- Using Text Controls
- Using Button Controls
- Using Selection Controls
- Using List Controls
- Using Container Controls
- Working with Routed Events
- Using Styles
- Working with Triggers and Multi-Triggers
- Using Control Templates
- Understanding Modal vs Modeless
- Displaying a Window Modally
- Retrieving Data from Modal Windows
- Creating Owned Windows
- Displaying a Window Modelessly
- Working with Data in Modeless Windows
- Using Common Dialogs
- Creating Irregularly Shaped Windows
- Working with Menus
- Working with Toolbars
- Working with Status Bars
- Working with the Ribbon
- Working with Images
- Working with Shapes
- Working with Brushes
- Using Solid Brushes
- Using Gradient Brushes
- Building Simple Animations
- Overview of Data Binding
- Binding to Control Properties
- Binding to Data Sources
- Binding to a List
- Binding to an ADO.NET Object
- Binding to an Object
- Binding to XML
- Sorting and Filtering Data
- Using Value Converters
- Working with Change Notifications
- Understanding Commands
- Creating Commands
- Associating Command with a Command Source
- Binding Command to Command Handlers
- Building WPF Applications Using the MVVM Design Pattern
- Understanding MVVM
- Implementing INotifyPropertyChange
- Using a DelegateCommand
- Working with ObservableCollections
- MVVM Case Studies
- Understanding Deployment Options
- Configuring an Application for Deployment
- Using XCOPY Deployment
- Using Installers
- Using Click-Once Deployment
Software Skills Training, Inc. (SST) is a leading provider of task-oriented training courses for IT professionals. Our task-based training philosophy is focused on saving you time and assuring that you are able to work more productively and with higher quality results after training. Founded in 2000, SST has delivered high-powered training to tens of thousands of IT professionals.
Choose from a variety of delivery options:
- Face-to-face in the classroom in over 100 cities
- Live remote attendance
- On-demand streaming
- Group training at your facility
We guarantee the overall quality of our courses with a 100% money-back guarantee. If any student is not totally satisfied for any reason, they can withdraw before the second day of class. Notify the instructor and return all course materials and receive a 100% refund.
Why Choose SST?- 50% hands on labs
- Small class sizes typically under 14 students
- Expert instructors that average over 10 years of teaching experience
- Students can retake any portion of a class that has been completed, within 12 months at no extra cost
- No registration fees or cancellation fees