module 2 introduction to visual studio 2010 and wpf version 4

13
Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Upload: candace-scott

Post on 17-Jan-2016

248 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Module 2

Introduction to Visual Studio 2010 and WPF

Version 4

Page 2: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Module Overview

• What's New in Visual Studio 2010?

• What's New in WPF Version 4?

Page 3: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Lesson 1: What's New in Visual Studio 2010?

• Understanding New Features in the Visual Studio 2010 IDE

• Understanding New Features in Managed Languages

Page 4: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Understanding New Features in the Visual Studio 2010 IDE

New IDE features:

•Appearance and behavior

•Exploring code

•Debugging

•Project capabilities

•Test-driven development

•Start Page

•Extension manager

•New Project dialog box

•Help Viewer

Page 5: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Understanding New Features in Managed Languages

Visual C#:

•Named and optional arguments

•Dynamic support

•Indexed properties and optional ref modifiers

•Type equivalence support for simplified deployment

Visual Basic:

•Auto-implemented properties

•Implicit line continuation

•Collection initializers

•Single-statement and multi-statement lambda expressions

•Type equivalence support for simplified deployment

Visual F#:

•New functional programming language

Page 6: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Lesson 2: What's New in WPF Version 4?

• Introducing the WPF Designer

• Understanding the New Visual Features in WPF Version 4

• Understanding the New Additional Features in WPF Version 4

Page 7: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Introducing the WPF Designer

Zoom control

Design view XAML view

Toolbox

Page 8: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Understanding the New Visual Features in WPF Version 4

New Controls Visual State Manager

Graphics and Animation Text

Page 9: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Understanding the New Additional Features in WPF Version 4

New WPF version 4 features:

•Touch and manipulation

UIElement, UIElement3D, and ContentElement now accept touch input

•Binding:

•Bind to commands on the InputBinding interface

•Bind to dynamic objects

•Bind to the Run.Text property

•XAML browser applications

Introduces HTML-XBAP script interop and full-trust deployment

•WPF and Windows

New types in the System.Windows.Shell namespace for Windows 7 features

•WPF Designer

Several new features and improvements in the WPF Designer

Page 10: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Lab: Guided Walkthrough of Visual Studio 2010 and XAML

• Exercise 1: Guided Walkthrough of Visual Studio 2010

• Exercise 2: Guided Walkthrough of the XAML Editor

Logon information

Estimated time: 45 minutes

Page 11: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Lab Scenario

You have just received and installed your new copy of Visual Studio 2010, and you have been asked to familiarize yourself with the new IDE, including the new windows and features that the IDE provides.

Page 12: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Lab Review

Review Questions

• Which Visual Studio 2010 feature enables you to add, remove, enable, and disable Visual Studio extensions?

• Which feature of the XAML editor enables you to view the XAML design surface and the XAML code at the same time?

Page 13: Module 2 Introduction to Visual Studio 2010 and WPF Version 4

Module Review and Takeaways

• Review Questions