Pro WPF in C# 2010 phần 1 pps

90 832 0
Pro WPF in C# 2010 phần 1 pps

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 10 13 Printing Through XPS 10 16 Creating an XPS Document for a Print Preview 10 17 Writing to an In- Memory XPS Document 10 18 Printing Directly to the Printer via XPS 10 19 Asynchronous Printing 10 19 The Last Word 10 20 ■Chapter 30: Interacting with Windows Forms 10 19 Assessing Interoperability 10 19 Missing... 995 Printing a Document 996 Manipulating the Pages in a Document Printout 10 00 Custom Printing 10 02 Printing with the Visual Layer Classes 10 02 Custom Printing with Multiple Pages 10 06 Print Settings and Management 10 12 Maintaining Print Settings 10 12 Printing Page Ranges 10 12 Managing a Print Queue ... 10 25 Creating Windows with Mixed Content 10 29 WPF and Windows Forms “Airspace” 10 30 Hosting Windows Forms Controls in WPF 10 31 WPF and Windows Forms User Controls 10 34 Hosting WPF Controls in Windows Forms 10 35 Access Keys, Mnemonics, and Focus 10 37 Property Mapping 10 39 The Last Word 10 41 ■Chapter 31: Multithreading... 607 Binding to a Collection of Objects 609 Displaying and Editing Collection Items 610 Inserting and Removing Collection Items 614 Binding to the ADO.NET Objects 615 Binding to a LINQ Expression 616 Improving Performance in Large Lists 619 Virtualization 619 Item Container Recycling 6 21 Deferred Scrolling... Features in WPF 10 20 Mixing Windows and Forms 10 22 Adding Forms to a WPF Application 10 22 Adding WPF Windows to a Windows Forms Application 10 23 xxiii ■ CONTENTS Showing Modal Windows and Forms 10 23 Showing Modeless Windows and Forms 10 24 Visual Styles for Windows Forms Controls 10 24 Windows Forms Classes That Don’t Need Interoperability... RichTextBox to provide document editing Chapter 29: Printing demonstrates WPF s printing model, which lets you draw text and shapes in a print document You’ll also learn how to manage page settings and print queues Chapter 30: Interacting with Windows Forms examines how you can combine WPF and Windows Forms content in the same application–and even in the same window Chapter 31: Multithreading describes... Multithreading 10 41 Multithreading 10 41 The Dispatcher 10 42 The DispatcherObject 10 42 The BackgroundWorker 10 45 The Last Word 10 54 ■Chapter 32: The Add -in Model 10 55 Choosing Between MAF and MEF 10 55 The Add -in Pipeline 10 56 How the Pipeline Works 10 57 The Add -in Folder... attention in WPF, it’s important to note that you can use WPF to build an ordinary Windows application with standard controls and a straightforward visual appearance In fact, it’s just as easy to use common controls in WPF as it is in Windows Forms Even better, WPF enhances features that appeal directly to business developers, including a vastly improved data binding model, a set of classes for printing... 10 99 xxv ■ INTRODUCTION About the Author ■ Matthew MacDonald is an author, educator, and Microsoft MVP He’s the author of more than a dozen books about NET programming, including Pro Silverlight 3 in C# (Apress, 2009), Pro ASP.NET 3.5 in C# (Apress, 2007), and the previous edition of this book, Pro WPF in C# 2008 (Apress, 2008) He lives in Toronto with his wife and two daughters xxvi ■ INTRODUCTION... 10 59 Preparing a Solution That Uses the Add -in Model 10 60 An Application That Uses Add-Ins 10 63 The Contract 10 63 The Add -in View 10 64 The Add -In 10 64 The Add -in Adapter 10 65 The Host View 10 66 The Host Adapter 10 67 The Host 10 67 xxiv ■ CONTENTS Adding More Add-Ins . Understanding Routed Events 11 9 Defining, Registering, and Wrapping a Routed Event 12 0 Sharing Routed Events 12 1 Raising a Routed Event 12 1 Handling a Routed Event 12 1 Event Routing 12 3 The. Dependency Properties 10 5 Defining a Dependency Property 10 6 Registering a Dependency Property 10 7 Adding a Property Wrapper 10 9 How WPF Uses Dependency Properties 11 0 Shared Dependency Properties. Properties 11 1 Attached Dependency Properties 11 2 Property Validation 11 4 The Validation Callback 11 4 The Coercion Callback 11 5 The Last Word 11 8 ■ CONTENTS vii ■Chapter 5: Routed Events 11 9

Ngày đăng: 06/08/2014, 09:20

Từ khóa liên quan

Mục lục

  • 1430272058

  • Title Page

  • Copyright Page

  • Table of Contents

  • About the Author

  • About the Technical Reviewer

  • Acknowledgments

  • Introduction

    • About This Book

      • Chapter Overview

      • What You Need to Use This Book

      • Code Samples and URLs

      • Feedback

      • CHAPTER 1 Introducing WPF

        • The Evolution of Windows Graphics

          • DirectX: The New Graphics Engine

          • Hardware Acceleration and WPF

          • WPF: A Higher-Level API

            • Windows Forms Lives On

            • DirectX Also Lives On

            • Silverlight

            • Resolution Independence

              • WPF Units

              • System DPI

                • Windows XP

                • Windows Vista

                • Windows 7

Tài liệu cùng người dùng

Tài liệu liên quan