0% found this document useful (0 votes)
201 views

WPF Session Plan

The document provides an overview of the steps and activities involved in teaching Visual Studio 2008 Windows Presentation Foundation (WPF) methods. It includes the time allotted and resources for each lesson and exercise. The lessons cover topics like creating WPF applications, building user interfaces, data binding, custom controls, and managing documents. Students will demonstrate and practice the concepts learned through in-class exercises and assignments to be completed in monitored reviews.

Uploaded by

Jai Deep
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
201 views

WPF Session Plan

The document provides an overview of the steps and activities involved in teaching Visual Studio 2008 Windows Presentation Foundation (WPF) methods. It includes the time allotted and resources for each lesson and exercise. The lessons cover topics like creating WPF applications, building user interfaces, data binding, custom controls, and managing documents. Students will demonstrate and practice the concepts learned through in-class exercises and assignments to be completed in monitored reviews.

Uploaded by

Jai Deep
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 23

Visual Studio 2008: Windows Presentation Foundation Method of handling Activities 1. Faculty demonstrating the steps 2.

Faculty demonstrate the steps in discussion mode by asking students to tell the steps 3. Tell the class to read the steps and call any one student randomly to perform the steps on faculty node. 4. After demonstration, call any student to perform the activity on Faculty node. Category A B C D

5. Students to do these exercises in the MR without guidance from E the faculty. 6. Students to do these exercises in the CR with guidance from F faculty.

Session 1 Source

Topic/Activity Name

Time Demonstration Source file Name : Duration Strategy Slide Name(Slide Numbers) in min

Module 01: Lesson1

Module 01: Lesson2

Module 01: Creating an Application by Using Windows Presentation Foundation Lesson: Overview of WPF What Is WPF? WPF Architecture Defining User Interfaces in WPF WPF Capabilities and Features WPF Application Types Lesson: Creating a Simple WPF Application Demonstration: Creating WPF Applications by Using Visual Studio 2008 Defining the Application

11 10 5 5 3 12 A 10 6460A_01.pps (1-21)

Module 01: Lesson2 6460A_01.pps (1-21) Defining Windows or Pages Adding Controls Building and Running a WPF Application Lesson: Handling Events and Commands The WPF Event Model Handling WPF Control Events What Are Routed Events? Defining Routed Events What Are Commands? Demonstration: Defining Commands Total Time 5 5 2 12 5 10 5 10 10 A 120

Module 01: Lesson3

Session 2 Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min

Module 01: Lesson4

Module 02: Lesson1

Module 02: Lesson2

Module 01: Creating an Application by Using Windows Presentation Foundation Lesson: Navigating Between Pages The WPF Navigation Model Demonstration: Navigating Pages by Using Hyperlinks Handling Page Navigation Events Maintaining State by Using Navigation Services Module Review and Takeaways Module 2: Building User Interfaces Lesson: Defining Page Layout WPF Page Layout Model WPF Layout Classes Demonstration: Defining Layout by Using Panels Demonstration: Defining Layout by Using Grids Lesson: Building User Interfaces by Using Content Controls What Is a Content Control? Demonstration: Creating a User Interface by Using Content Controls What Is a Headered Content Control?

11 10 A 5 5 5 7 15 15 A 10 A 7 5A 3 6460A_01.pps (22-30)

6460A_02.pps(1-19)

Module 02: Lesson2

Module 02: Lesson3

Demonstration: Creating a User Interface by Using Headered Content Controls Lesson: Building User Interfaces by Using Items Controls What Is an Items Control? Handling Item Selection Demonstration: Creating a User Interface by Using Items Controls Total Time

5A 7 5 5A 120

Session 3-MR1 Source

Topic/Activity Name

Module 01

Exercise 1: Creating a Stand-Alone WPF Application Exercise 2: Handling Events and Commands Exercise 3: Navigating Between Pages Exercise 4: Creating an XBAP Application

Time Demonstration Source file Name Duration Strategy in min 10 E 20 E 25 E 15 E 25 E 20 E

Module 02

Exercise 1: Defining Page Layout and Adding Content Exercise 2: Enhancing the User Interface by Using Items Controls Total Time

115

Session 4 Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 7 10 10 6460A_02.pps (20-27)

Module 02: Lesson4

Module 2: Building User Interfaces Lesson: Hosting Windows Forms Controls Why Host Windows Forms Controls in WPF? Referencing Windows Forms Controls in a WPF Application Using Windows Forms Controls in XAML

Module 02: Lesson4 6460A_02.pps (20-27) Interacting with Windows Forms Controls Module Review and Takeaways Module 3: Customizing Appearance Lesson: Sharing Logical Resources in an Application What Are Resources? Defining Resources Referencing Resources in XAML Referencing Resources Programmatically Reusing Resources Across Applications Demonstration: Sharing Resources in a WPF Application Defining Localized Resources Lesson: Creating Consistent User Interfaces by Using Styles What Are Styles? Defining Styles Extending Styles Setting Styles Programmatically Lesson: Changing the Appearance of Controls by Using Control Templates What Are Control Templates? Defining a Control Template for a Content Control Defining a Control Template for an Items Control Providing User Customization by Using Template Bindings Demonstration: Changing the Appearance of Controls by Using Control Templates Total Time 5 5 6460A_03.pps(1-21) 5

Module 03: Lesson1

10

Module 03: Lesson2

10 A 10 6

Module 03: Lesson3

5 7

15 5 10 A 120

Session 5 Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 7

Module 03: Lesson4

Module 3: Customizing Appearance Lesson: Enhancing User Interfaces by Using Triggers and Animations What Are Triggers? Defining Property Triggers What Are Animations? Defining Animations

15

6460A_03.pps (22-30)

Lesson4

6460A_03.pps (22-30) Demonstration: Enhancing Controls by Using Triggers and Animations Module Review and Takeaways Module 4: Data Binding Lesson: Overview of Data Binding The WPF Data-Binding Model Binding Sources and Binding Targets Data-Binding Modes Lesson: Creating a Data Binding Binding to a Class Property Binding Multiple Controls to a Class Binding to a Full Object Binding to XML Data Binding to Another User Interface Element Demonstration: Binding to Different Data Sources Lesson: Implementing Property Change Notification What Are Property Change Notifications? Propagating Property Change Notifications to a Binding Target Propagating Value Changes to a Binding Source Demonstration: Triggering Source Updates Total Time 15 A 5 6460A_04.pps(1-18) 17

Module 04: Lesson1

Module 04: Lesson2

17

5 15 A 12

Module 04: Lesson3

12 A 120

Session 6-MR2 Source

Topic/Activity Name

Module 02 Module 03

Exercise 3: Integrating Windows Forms Controls Exercise 1: Sharing Logical Resources in an Application Exercise 2: Creating Consistent User Interfaces by Using Styles Exercise 3: Changing the Appearance of Controls by Using Control Templates

Time Demonstration Source file Name Duration Strategy in min 15 E 20 E 20 E

25 E

Exercise 4: Enhancing the User Interface by Using Triggers and Animations Total Time Session 7 Source

30 E

110

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 12

Module 04: Lesson4

Module 05: Lesson1

Module 05: Lesson2

Module 4: Data Binding Lesson 4: Converting Data Default Data Conversions Implementing a Custom Value Converter Lesson: Validating Data Default Data Validation Providing Visual Validation Feedback Defining a Custom Validation Rule Specifying Validation Rules by Using XAML Module Review and Takeaways Module 5: Data Bindings to Collections Lesson: Binding to Collections of Objects Overview of Binding to Collections What Is an Observable Collection? Defining an Observable Collection Class Introduction to LINQ Binding to ADO.NET Data Objects Lesson: Presenting Data by Using Collection Views What Is a Collection View? Creating and Using a Collection View Sorting Data by Using a Collection View Filtering Data by Using a Collection View Grouping Data by Using a Collection View Creating Master-Detail User Interfaces Total Time

12

6460A_04.pps (19-29)

10 5 6460A_05.pps (1-15) 17

15 15 12

15

7 120

Session 8

Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 17 6460A_05.pps (16-23) 5 15 5 7

Module 5: Data Bindings to Collections Lesson: Presenting Data by Using Data Templates What Is a Data Template? Defining and Using a Data Template Defining a Data Template as a Resource Using Data Triggers in a Data Template Module Review and Takeaways Module 06:Lesson1 Module 6: Creating New Controls Lesson: Overview of Control Authoring Why Create New Controls? Options for Creating New Controls User Controls Custom Controls FrameworkElement-Derived Controls Module 06:Lesson2 Lesson: Creating Controls Creating a User Control Implementing Properties and Events Creating a Custom Control Implementing Commands Enhancing Controls by Using Themes Demonstration: Implementing a NumericUpDown Control Module Review and Takeaways Total Time Session 9-MR2 Source

Module 05: Lesson3

5 5 5 16 6460A_06.pps (1-19) 15

20 A 5 120

Topic/Activity Name

Module 04

Exercise 1: Creating Data Bindings Exercise 2: Implementing Property Change Notification Exercise 3: Converting Data Exercise 4: Validating Data

Time Duration in min 15 10 15 15

Demonstration Source file Name Strategy E E E E

Module 05 Module 06

Exercise 1: Presenting Data by Using Collection Views Exercise 2: Presenting Data by Using Data Templates Exercise 1: Implementing a Custom Control Total Time

15 E 25 E 25 E 120

Session 10 Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 12

Module 07:Lesson1 Module 7: Managing Documents Lesson: Creating and Viewing Flow Documents What Are Flow Documents? Defining a Flow Document Types of Flow Document Containers Demonstration: Defining FlowDocument Containers Flow-Related Controls Customizing Text Demonstration: Customizing Text in a FlowDocument Module 07:Lesson1 Lesson: Creating and Viewing Fixed Documents What Are Fixed Documents? Defining Fixed Documents Defining a Fixed Document Viewer Demonstration: Creating a FixedDocument in XAML Module 07:Lesson3 Lesson: Packaging Documents Support for Packaging Documents Packaging Document Parts into a ZIP File Digitally Signing Content Associating Information with Packages and Parts Demonstration: Creating a Digitally Signed ZipPackage Total Time Session 11 Source

15 A 10 10 A 16 6460A_07.pps (1-21)

10 A 12

10 10 15 A 120

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min 7 6460A_07.pps (23-31)

Module 07:Lesson4 Module 7: Managing Documents Lesson: Printing Documents

Module 07:Lesson4 7 What Is the XML Paper Specification? Demonstration: Printing Documents Controlling Print Jobs Managing the Print Queue Module Review and Takeaways Module 08:Lesson1 Module 8: Graphics and Multimedia Lesson: Creating 2-D Graphics 2-D Graphics Support in WPF Drawing Shapes What Are Paths and Geometries? Demonstration: Filling Shapes and Geometries Demonstration: Using and Animating Transformations Module 08:Lesson2 Lesson: Displaying Images WPF Imaging Components Demonstration: Displaying Images in WPF Encoding and Decoding Images Rotating, Converting, and Cropping Images Total Time Session 12-MR3 Source 10 A 10 5 16 6460A_07.pps (23-31)

15 15 A 15 A 7 10 A 10 120

6460A_08.pps (1-15)

Topic/Activity Name

Module 07

Module 08

Exercise 1: Creating and Displaying Flow Documents Exercise 2: Printing Documents Exercise 3: Creating and Signing XPS Documents Exercise 1: Displaying 2-D Graphics Exercise 2: Displaying Images Total Time

Time Duration in min 20 20 20 30

Demonstration Source file Name Strategy E E E E

20 E 110

Session 13 Source

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min

Module 08:Lesson3 Module 8: Graphics and Multimedia

Module 08:Lesson3 Lesson: Creating 3-D Graphics Differences Between 2-D and 3-D 3-D Graphics Support in WPF What is a Viewport3D? Camera Types for Viewport3D Creating Models Demonstration: Rendering 3-D Content 17

25

Lesson: Manipulating the 3-D Environment Specifying Materials for a 3-D Model Specifying Light for a 3-D Model Demonstration: Transforming a 3-D Model Demonstration: Animating a 3-D Model Module 08:Lesson4 Lesson: Adding Multimedia WPF Support for Multimedia Media Playback Modes Displaying Media by Using a MediaElement Controlling the Operation of a MediaElement Playing Media by Using a MediaPlayer Module Review and Takeaways Total Time Session 14 Source

26 6460A_08.pps (16-36) 10

17

15 5 115

Topic/Activity Name

Time Demonstration Source file Name Duration Strategy in min

Module 09: Lesson1

Module 9: Configuring and Deploying Applications in Windows Presentation Foundation Lesson: Deployment Options Deployment Technologies Full-Trust and Partial-Trust Applications WPF Features Available in Partial Trust WPF Features Unavailable in Partial Trust XBAP Applications on the Local Intranet 17

10 10 10

6460A_09.pps (1-26)

Module 09: Lesson2

Lesson: Deploying a Stand-Alone WPF Application Deploying a Stand-Alone Application by Using Windows Installer Deploying a Stand-Alone Application by Using ClickOnce Installing the .NET Framework Lesson: Deploying an XBAP Application XBAP Files That Must Be Deployed What Is a Manifest File? Publishing an XBAP Application to a Web Server Installing an XBAP Application to a Client Computer Lesson: Configuring Manifest Settings Using the Manifest Generation and Editing Tools Mage.exe Commands Setting Options for New and Updated Files Setting Options for Signing Files Module Review and Takeaways Course Evaluation

12

Module 09: Lesson3

10 3 7

6460A_09.pps (1-26)

10 11 15

Module 09: Lesson4

Total Time Session 15-MR4 Source

120

Topic/Activity Name

Module 08 Module 09

Exercise 3: Displaying 3-D Graphics Exercise 4: Playing Video Clips Exercise 1: Deploying a Stand-Alone WPF Application Exercise 2: Updating a Deployment Manifest Exercise 3: Deploying an XBAP Application Total Time

Time Duration in min 30 30 20

Demonstration Source file Name Strategy E E E

20 E 20 E 120

Note: 1. Ask the students to answer the Lab Review questions in the respective machine room sessions along with the exercises. Therefore, you need not cover the slide, Lab Review in the Class Room(CR) session. 2. You may skip the 6460A_00.pps file in the first session and just give a brief introduction about the module course content. 3. Although an estimated time is allocated for the complete lab exercise in the respective slide, you may refer to the session plan for the time that is required to complete a particular exercise. 4. You must provide the datafiles for the lab exercises to the students from the following location in the TIRM CD: Datafiles_For_Students\WPF folder. 5. You may locate the datafiles to conduct the demonstrations and Lab exercises from the following location in the TIRM CD: Datafiles_For_Faculty\WPF folder.

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

Remarks

This demonstration will not be covered in the class due to non-availability of 3D graphics card support.

These demonstrations will not be covered in the class due to non-availability of 3D graphics card support.

Remarks

After completing this course, students will be evaluated on this course by appearing for a Module Test.

Remarks

You might also like