Essential Windows Presentation Foundation (Paperback)
暫譯: Essential Windows Presentation Foundation (平裝本)
Chris Anderson
- 出版商: Addison Wesley
- 出版日期: 2007-04-01
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 512
- 裝訂: Paperback
- ISBN: 0321374479
- ISBN-13: 9780321374479
已過版
買這商品的人也買了...
-
$880$695 -
$650$514 -
$880$695 -
$550$435 -
$450$356 -
$880$695 -
$450$356 -
$490$382 -
$590$466 -
$620$490 -
$880$695 -
$1,930$1,834 -
$840The Art and Science of CSS (Paperback)
-
$580$452 -
$2,250$2,138 -
$600$480 -
$580$458 -
$1,180$932 -
$2,510$2,385 -
$850$723 -
$520$364 -
$950$808 -
$650$618 -
$580$493 -
$2,390$2,271
商品描述
Description
“Chris Anderson was one of the chief architects of the next-generation GUI stack, the Windows Presentation Framework (WPF), which is the subject of this book. Chris’s insights shine a light from the internals of WPF to those standing at the entrance, guiding you through the concepts that form the foundation of his creation.”
—From the foreword by Chris Sells“As one of the architects behind WPF, Chris Anderson skillfully explains not only the ‘how,’ but also the ‘why.’ This book is an excellent resource for anyone wanting to understand the design principles and best practices of WPF.”
—Anders Hejlsberg, technical fellow, Microsoft Corporation“If WPF stands as the user interface technology for the next generation of Windows, then Chris Anderson stands as the Charles Petzold for the next generation of Windows user interface developers.”
—Ted Neward, founding editor, TheServerSide.NET“This is an excellent book that does a really great job of introducing you to WPF, and explaining how to unlock the tremendous potential it provides.”
—Scott Guthrie, general manager, Developer Division, Microsoft“WPF is a whole new animal when it comes to creating UI applications, drawing on design principles originating from both Windows Forms and the Web. Chris does a great job of not only explaining how to use the new features and capabilities of WPF (with associated code and XAML based syntax), but also explains why things work the way they do. As one of the architects of WPF, Chris gives great insight into the plumbing and design principles of WPF, as well as the mechanics of writing code using it. This is truly essential if you plan to be a serious WPF developer.”
—Brian Noyes, chief architect, IDesign Inc.; Microsoft Regional Director; Microsoft MVP“I was given the opportunity to take a look at Chris Anderson’s book and found it to be an exceedingly valuable resource, one I can comfortably recommend to others. I can only speak for myself, but when faced with a new technology I like to have an understanding of how it relates to and works in relation to the technology it is supplanting. Chris starts his book by tying the WPF directly into the world of Windows 32-bit UI in C++. Chris demonstrates both a keen understanding of the underlying logic that drives the WPF and how it works and also a skill in helping the reader build on their own knowledge through examples that mimic how you would build your cutting edge applications.”
—Bill Sheldon, principal engineer, InterKnowlogyWindows Presentation Foundation (WPF) replaces Microsoft’s diverse presentation technologies with a unified, state-of-the-art platform for building rich applications. WPF combines the best of Windows and the Web; fully integrates user interfaces, documents, and media; and leverages the full power of XML-based declarative programming.
In Essential Windows Presentation Foundation, former WPF architect Chris Anderson systematically introduces this breakthrough platform, focusing on the concepts and techniques working developers need in order to build robust applications for real users. Drawing on his unique experience as an architect on the team, Anderson thoroughly illuminates the crucial new concepts underlying WPF and reveals how its APIs work together to offer developers unprecedented value.
Through working sample code, you’ll discover how WPF draws on the Web’s simple models for markup and deployment, common frame for applications, and rich server connectivity, and on Windows’ rich client model, simple programming model, strong control over look-and-feel, and rich networking. Topics explored in depth include
- WPF components and architecture
- Key WPF design decisions—and why they matter
- XAML markup language
- Controls
- Layouts
- Visuals and media, including 2D, 3D, video, and animation
- Data integration
- Actions
- Styles
- WPF Base Services
Table of Contents
Figures xv
Foreword by Don Box xxv
Foreword by Chris Sells xxvii
Preface xxix
About the Author xxxix
Chapter 1: Introduction 1
WPF as the New GUI 1
A Brief Look at the XAML Programming Model 11
A Tour of WPF 17
Tools for Building Applications 39
Where Are We? 41
Chapter 2: Applications 43
Application Principles 43
Application 52
Resources and Configuration 60
Windows 71
User Controls 80
Navigation and Pages 83
Hosting Applications in a Browser 103
Where Are We? 111
Chapter 3: Controls 113
Control Principles 113
Control Library 128
Building Blocks 161
Where Are We? 171
Chapter 4: Layout 173
Layout Principles 173
Layout Library 186
Grid 196
Writing a Custom Layout 207
Where Are We? 215
Chapter 5: Visuals 217
2D Graphics 218
3D Graphics 254
Documents and Text 267
Animation 283
Media 300
Where Are We? 305
Chapter 6: Data 307
Data Principles 307
Resources 310
Binding Basics 316
Binding to CLR Objects 322
Binding to XML 331
Data Templates 338
Advanced Binding 342
Data-Driven Display 357
Where Are We? 363
Chapter 7: Actions 365
Action Principles 365
Events 369
Commands 373
Triggers 383
Where Are We? 389
Chapter 8: Styles 391
Style Principles 391
Beginning Styles 397
Using Styles for Good, Not Evil 415
Where Are We? 419
Appendix: Base Services 421
Threading and Dispatchers 421
Properties 427
Keyboards, Mice, and Styluses 437
Where Are We? 442
Index 443
商品描述(中文翻譯)
**描述**
“Chris Anderson 是下一代 GUI 堆疊 Windows Presentation Framework (WPF) 的主要架構師之一,而本書正是以此為主題。Chris 的見解從 WPF 的內部結構照亮了站在入口處的人,引導你了解構成他創作基礎的概念。”
—來自 Chris Sells 的前言
“作為 WPF 的架構師之一,Chris Anderson 不僅巧妙地解釋了‘如何’,還解釋了‘為什麼’。這本書是任何想要理解 WPF 設計原則和最佳實踐的人的絕佳資源。”
—Anders Hejlsberg,微軟公司技術研究員
“如果 WPF 是下一代 Windows 的用戶界面技術,那麼 Chris Anderson 就是下一代 Windows 用戶界面開發者的 Charles Petzold。”
—Ted Neward,《TheServerSide.NET》創始編輯
“這是一本出色的書,真正很好地介紹了 WPF,並解釋了如何釋放它所提供的巨大潛力。”
—Scott Guthrie,微軟開發者部門總經理
“在創建 UI 應用程序方面,WPF 是一個全新的領域,借鑒了來自 Windows Forms 和 Web 的設計原則。Chris 不僅很好地解釋了如何使用 WPF 的新特性和功能(包括相關的代碼和基於 XAML 的語法),還解釋了為什麼事情會這樣運作。作為 WPF 的架構師之一,Chris 對 WPF 的底層結構和設計原則,以及使用它編寫代碼的機制提供了深刻的見解。如果你打算成為一名認真的 WPF 開發者,這是絕對必要的。”
—Brian Noyes,IDesign Inc. 首席架構師;微軟區域總監;微軟 MVP
“我有機會查看 Chris Anderson 的書,發現它是一個極其有價值的資源,我可以放心地推薦給他人。我只能代表自己發言,但當面對一項新技術時,我喜歡了解它與取代的技術之間的關係和運作方式。Chris 在書中直接將 WPF 與 C++ 的 Windows 32 位 UI 連接起來。Chris 展示了對驅動 WPF 的底層邏輯的敏銳理解,以及如何運作的技能,並幫助讀者通過模擬如何構建尖端應用程序的示例來擴展他們自己的知識。”
—Bill Sheldon,InterKnowlogy 首席工程師
Windows Presentation Foundation (WPF) 用一個統一的、最先進的平台取代了微軟多樣的呈現技術,以構建豐富的應用程序。WPF 結合了 Windows 和 Web 的最佳特性;完全整合用戶界面、文檔和媒體;並利用基於 XML 的聲明式編程的全部力量。
在《Essential Windows Presentation Foundation》中,前 WPF 架構師 Chris Anderson 系統地介紹了這一突破性平台,重點關注開發人員在構建實際用戶的穩健應用程序時所需的概念和技術。基於他作為團隊架構師的獨特經驗,Anderson 徹底闡明了 WPF 的關鍵新概念,並揭示了其 API 如何協同工作,為開發人員提供前所未有的價值。
通過工作示例代碼,你將發現 WPF 如何借鑒 Web 的簡單標記和部署模型、應用程序的通用框架以及豐富的伺服器連接,並基於 Windows 的豐富客戶端模型、簡單的編程模型、對外觀和感覺的強大控制以及豐富的網絡功能。深入探討的主題包括:
- WPF 組件和架構
- 主要 WPF 設計決策——以及它們的重要性
- XAML 標記語言
- 控制項
- 佈局
- 視覺效果和媒體,包括 2D、3D、視頻和動畫
- 數據整合
- 操作
- 樣式
- WPF 基礎服務
**目錄**
圖表 xv
Don Box 的前言 xxv
Chris Sells 的前言 xxvii
前言 xxix
關於作者 xxxix
第一章:介紹 1
WPF 作為新 GUI 1
XAML 編程模型簡介 11
WPF 總覽 17
構建應用程序的工具 39
我們在哪裡? 41
第二章:應用程序 43
應用程序原則 43
應用程序 52
資源和配置 60
窗口 71
用戶控制 80
導航和頁面 83
在瀏覽器中托管應用程序 103
我們在哪裡? 111
第三章:控制項 113
控制原則 113
控制庫 128
構建塊 161
我們在哪裡? 171
第四章:佈局 173
佈局原則 173
佈局庫 186
網格 196
編寫自定義佈局 207
我們在哪裡? 215
第五章:視覺效果 217
2D 圖形 218
3D 圖形 254
文檔和文本 267
動畫 283
媒體 300
我們在哪裡? 305
第六章:數據 307
數據原則 307
資源 310
綁定基礎 316
綁定到 CLR 對象 322
綁定到 XML 331
數據模板 338
高級綁定 342
數據驅動顯示 357
我們在哪裡? 363
第七章:操作 365
操作原則 365
事件 369
命令 373
觸發器 383
我們在哪裡? 389
第八章:樣式 391
樣式原則 391
初學者樣式 397
善用樣式 415
我們在哪裡? 419
附錄:基礎服務 421
線程和調度器 421
屬性 427
鍵盤、滑鼠和觸控筆 437
我們在哪裡? 442
索引 443