14. Overview of WPF

About this Tutorial

Objectives

Delegates will learn to develop applications using C# 4.5. After completing this course, delegates will be able to:

  • Use Visual Studio 2012 effectively
  • Create commercial C# Web Applications
  • Develop multi-threaded applications, Use WCF and LINQ

Audience

This course has been designed primarily for programmers new to the .Net development platform. Delegates experience solely in Windows application development or earlier versions of C# will also find the content beneficial.

Prerequisites

No previous experience in C# programming is required. But any experience you do have in programming will help. Also no experience in Visual Studio is required. But again any experience you do have with programming development environments will be a valuable.

Download Solutions

HTML tutorial


Overview

  1. WPF is Microsoft’s new API for creating desktop apps
    • Utilizes the high-performance DirectX engine.
    • Much richer interfaces than possible in Windows Forms UIs.
  2. Primary features of WPF:
    • Web-like layout model.
    • Rich drawing model for 2-D and 3-D graphics.
    • Rich text model.
    • Animation support
    • Support for audio and video media.
    • Styles and templates.
    • Commands.
    • XAML-based declarative UI.
    • Interop with Windows Forms controls.
  3. WPF Application Types:
    • Standalone applications
      HeaderContentControl
    • XAML browser applications
      XBAApp
  4. WPF User Interfaces and XAML:
    • You will typically create WPF UIs using XAML:
      • Extensible Application Markup Language
      • A declarative syntax for creating objects, and for setting properties and eventhandlers
      • This XAML will create this UI
        <Window ... >
         ...
         <Label>Label</Label>
         <TextBox>TextBox</TextBox>
         <RichTextBox .../>
         <RadioButton>RadioButton</RadioButton>
         <CheckBox>CheckBox</CheckBox>
         <Button>Button</Button>
        </Window>
      • XAMLExample

  5. WPF Class Hierarchy
    ClassHierarchy

Estimated Time – 1 Hour

Not what you are looking? Try the next tutorial – Overview of WCF

 

Well done. You have completed the tutorial in the C# course. The next tutorial is

15. Overview of WCF


Back to beginning
Copyright © 2016 TalkIT®






If you liked this post, please comment with your suggestions to help others.
If you would like to see more content like this in the future, please fill-in our quick survey.