Programming Windows Presentation Foundation
暫譯: 編程 Windows Presentation Foundation
Chris Sells, Ian Griffiths
- 出版商: O'Reilly
- 出版日期: 2005-09-22
- 售價: $1,590
- 貴賓價: 9.5 折 $1,511
- 語言: 英文
- 頁數: 448
- 裝訂: Paperback
- ISBN: 0596101139
- ISBN-13: 9780596101138
已過版
買這商品的人也買了...
-
$650$514 -
$690$587 -
$590$466 -
$750$638 -
$2,390$2,271 -
$780$616 -
$490$382 -
$780$616 -
$650$507 -
$880$748 -
$680$646 -
$550$468 -
$490$382 -
$480$379 -
$880$695 -
$680$537 -
$750$585 -
$390$308 -
$890$757 -
$580$458 -
$780$663 -
$650$507 -
$760$600 -
$1,760Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Hardcover)
-
$720$569
商品描述
Description:
Windows Presentation Foundation (WPF) (formerly known by its code name "Avalon") is a brand-new presentation framework for Windows XP and Windows Vista, the next version of the Windows client operating system. For developers, WPF is a cornucopia of new technologies, including a new graphics engine that supports 3-D graphics, animation, and more; an XML-based markup language (XAML) for declaring the structure of your Windows UI; and a radical new model for controls.
Programming Windows Presentation Foundation is the book you need to get up to speed on WPF. By page two, you'll have written your first WPF application, and by the end of Chapter 1, "Hello WPF," you'll have completed a rapid tour of the framework and its major elements. These include the XAML markup language and the mapping of XAML markup to WinFX code; the WPF content model; layout; controls, styles, and templates; graphics and animation; and, finally, deployment.
Programming Windows Presentation Foundation features:
Scores of C# and XAML examples that show you what it takes to get a WPF application up and running, from a simple "Hello, Avalon" program to a tic-tac-toe game
- Insightful discussions of the powerful new programming styles that WPF brings to Windows development, especially its new model for controls
- A color insert to better illustrate WPF support for 3-D, color, and other graphics effects
- A tutorial on XAML, the new HTML-like markup language for declaring Windows UI
- An explanation and comparison of the features that support interoperability with Windows Forms and other Windows legacy applications
The next generation of Windows applications is going to blaze a trail into the unknown. WPF represents the best of the control-based Windows world and the content-based web world; it's an engine just itching to be taken for a spin. Inside, you'll find the keys to the ignition.
Table of Contents:
Preface
1. Hello, WPF
WPF from Scratch
Navigation Applications
Content Model
Layout
Controls
Data Binding
Dependency Properties
Resources
Styles and Control Templates
Graphics
Application Deployment
Where Are We?
2. Layout
Layout Basics
DockPanel
StackPanel
Grid
Canvas
Viewbox
Text Layout
Common Layout Properties
When Content Doesn't Fit
Custom Layout
Where Are We?
3. Controls
What Are Controls?
Handling Input
Built-In Controls
Where Are We?
4. Data Binding
Without Data Binding
Data Binding
Binding to List Data
Data Sources
Master-Detail Binding
Where Are We?
5. Styles and Control Templates
Without Styles
Inline Styles
Named Styles
Element-Typed Styles
Data Templates and Styles
Triggers
Control Templates
Where Are We?
6. Resources
Creating and Using Resources
Resources and Styles
Binary Resources
Global Applications
Where Are We?
7. Graphics
Graphics Fundamentals
Shapes
Brushes and Pens
Transformations
Visual-Layer Programming
Video and 3-D
Where Are We?
8. Animation
Animation Fundamentals
Timelines
Storyboards
Key Frame Animations
Creating Animations Procedurally
Where Are We?
9. Custom Controls
Custom Control Basics
Choosing a Base Class
Custom Functionality
Templates
Default Visuals
Where Are We?
10. ClickOnce Deployment
A Brief History of Windows Deployment
ClickOnce: Local Install
The Pieces of ClickOnce
Publish Properties
Deploying Updates
ClickOnce: Express Applications
Choosing Local Install versus Express
Signing ClickOnce Applications
Programming for ClickOnce
Security Considerations
Where Are We?
A. XAML
B. Interoperability
C. Asynchronous and Multithreaded Programming in WPF Applications
Index
商品描述(中文翻譯)
**描述:**
Windows Presentation Foundation (WPF)(以前的代號為 'Avalon')是一個全新的 Windows XP 和 Windows Vista 的呈現框架,這是 Windows 客戶端操作系統的下一個版本。對於開發者來說,WPF 是一個充滿新技術的寶庫,包括一個支持 3D 圖形、動畫等的新圖形引擎;一種基於 XML 的標記語言 (XAML),用於聲明 Windows UI 的結構;以及一種全新的控制模型。
**《Programming Windows Presentation Foundation》** 是您了解 WPF 所需的書籍。在第二頁,您將編寫您的第一個 WPF 應用程序,而在第一章 'Hello WPF' 的結尾,您將完成對該框架及其主要元素的快速導覽。這些元素包括 XAML 標記語言及其與 WinFX 代碼的映射;WPF 內容模型;佈局;控制項、樣式和模板;圖形和動畫;最後是部署。
**Programming Windows Presentation Foundation 的特點:**
- 大量的 C# 和 XAML 範例,展示了如何讓 WPF 應用程序運行,從一個簡單的 'Hello, Avalon' 程序到井字遊戲
- 深入討論 WPF 為 Windows 開發帶來的強大新編程風格,特別是其新的控制模型
- 彩色插圖以更好地說明 WPF 對 3D、顏色和其他圖形效果的支持
- 一個關於 XAML 的教程,這是用於聲明 Windows UI 的新 HTML 類似標記語言
- 對支持與 Windows Forms 和其他 Windows 遺留應用程序互操作性的特性進行解釋和比較
下一代 Windows 應用程序將開創未知的道路。WPF 代表了基於控制的 Windows 世界和基於內容的網絡世界的最佳結合;它是一個渴望被啟動的引擎。在裡面,您將找到點火的鑰匙。
**目錄:**
**前言**
**1. Hello, WPF**
WPF 從零開始
導航應用程序
內容模型
佈局
控制項
資料綁定
依賴屬性
資源
樣式和控制模板
圖形
應用程序部署
我們在哪裡?
**2. 佈局**
佈局基礎
DockPanel
StackPanel
Grid
Canvas
Viewbox
文本佈局
常見佈局屬性
當內容不適合時
自定義佈局
我們在哪裡?
**3. 控制項**
什麼是控制項?
處理輸入
內建控制項
我們在哪裡?
**4. 資料綁定**
沒有資料綁定
資料綁定
綁定到列表資料
資料來源
主從綁定
我們在哪裡?
**5. 樣式和控制模板**
沒有樣式
內聯樣式
命名樣式
元素類型樣式
資料模板和樣式
觸發器
控制模板
我們在哪裡?
**6. 資源**
創建和使用資源
資源和樣式
二進位資源
全局應用程序
我們在哪裡?
**7. 圖形**
圖形基礎
形狀
畫刷和筆
變換
視覺層編程
視頻和 3D
我們在哪裡?
**8. 動畫**
動畫基礎
時間線
故事板
關鍵幀動畫
程序性創建動畫
我們在哪裡?
**9. 自定義控制項**
自定義控制項基礎
選擇基類
自定義功能
模板
預設視覺效果
我們在哪裡?
**10. ClickOnce 部署**
Windows 部署的簡史
ClickOnce:本地安裝
ClickOnce 的組件
發佈屬性
部署更新
ClickOnce:快速應用程序
選擇本地安裝與快速
簽署 ClickOnce 應用程序
為 ClickOnce 編程
安全考量
我們在哪裡?
**A. XAML**
**B. 互操作性**
**C. WPF 應用程序中的非同步和多執行緒編程**
**索引**