没有合适的资源?快使用搜索试试~ 我知道了~
首页Windows Presentation Foundation Unleashed 第4版
Windows Presentation Foundation Unleashed 第4版
5星 · 超过95%的资源 需积分: 15 24 下载量 142 浏览量
更新于2023-03-03
评论
收藏 29.5MB PDF 举报
英文名《Windows Presentation Foundation Unleashed》,中文名《WPF揭秘》,最新的第4版。
资源详情
资源评论
资源推荐
ptg
From the Library of Wow! eBook
ptg
WPF 4
UNLEASHED
800 East 96th Street, Indianapolis, Indiana 46240 USA
Adam Nathan
From the Library of Wow! eBook
ptg
WPF 4 Unleashed
Copyright © 2010 by Pearson Education
All rights reserved. No part of this book shall be reproduced, stored in a retrieval
system, or transmitted by any means, electronic, mechanical, photocopying, recording,
or otherwise, without written permission from the publisher. No patent liability is
assumed with respect to the use of the information contained herein. Although every
precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein.
ISBN-13: 978-0-672-33119-0
ISBN-10: 0-672-33119-5
Library of Congress Cataloging-in-Publication Data
Nathan, Adam.
WPF 4 unleashed / Adam Nathan.
p. cm.
Includes index.
ISBN 978-0-672-33119-0
1. Windows presentation foundation. 2. Application software. 3. Microsoft .NET
Framework. I. Title.
QA76.76.A65N386 2010
006.7’882—dc22
2010017765
Printed in the United States on America
First Printing June 2010
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks
have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of
this information. Use of a term in this book should not be regarded as affecting the
validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possi-
ble, but no warranty or fitness is implied. The information provided is on an “as is”
basis. The author(s) and the publisher shall have neither liability nor responsibility to
any person or entity with respect to any loss or damages arising from the information
contained in this book or from the use of the programs accompanying it.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity for
bulk purchases or special sales. For more information, please contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
international@pearsoned.com
Editor-in-Chief
Karen Gettman
Executive Editor
Neil Rowe
Development Editor
Mark Renfrow
Managing Editor
Kristy Hart
Project Editor
Betsy Harris
Copy Editor
Kitty Wilson
Indexer
Erika Millen
Proofreader
Kathy Ruiz
Technical Editors
Dwayne Need
Robert Hogue
Joe Castro
Jordan Parker
Publishing Coordinator
Cindy Teeters
Book Designer
Gary Adair
Composition
Bronkella Publishing LLC
From the Library of Wow! eBook
ptg
Contents at a Glance
Introduction . .................................................................................................................................................. 1
Part I Background
1 Why WPF, and What About Silverlight? ................................................................................. 9
2 XAML Demystified . ................................................................................................................................ 21
3 WPF Fundamentals . .............................................................................................................................. 73
Part II Building a WPF Application
4 Sizing, Positioning, and Transforming Elements . .......................................................... 97
5 Layout with Panels .............................................................................................................................. 115
6 Input Events: Keyboard, Mouse, Stylus, and Multi-Touch .................................. 159
7 Structuring and Deploying an Application ...................................................................... 195
8 Exploiting Windows 7. ..................................................................................................................... 233
Part III Controls
9 Content Controls . ................................................................................................................................ 261
10 Items Controls . ....................................................................................................................................... 275
11 Images, Text, and Other Controls. .......................................................................................... 309
Part IV Features for Professional Developers
12 Resources . .................................................................................................................................................... 343
13 Data Binding . ........................................................................................................................................... 363
14 Styles, Templates, Skins, and Themes . ................................................................................. 415
Part V Rich Media
15 2D Graphics .............................................................................................................................................. 475
16 3D Graphics .............................................................................................................................................. 537
17 Animation . ................................................................................................................................................ 607
18 Audio, Video, and Speech . ............................................................................................................ 653
Part VI Advanced Topics
19 Interoperability with Non-WPF Technologies ............................................................... 675
20 User Controls and Custom Controls . ................................................................................... 721
21 Layout with Custom Panels . ....................................................................................................... 751
Index . ............................................................................................................................................................. 775
From the Library of Wow! eBook
ptg
Table of Contents
Introduction 1
Who Should Read This Book? .......................................................................................................... 2
Software Requirements . ......................................................................................................................... 3
Code Examples.............................................................................................................................................. 4
How This Book Is Organized. ............................................................................................................ 4
Part I: Background. ....................................................................................................................... 4
Part II: Building a WPF Application ............................................................................... 4
Part III: Controls ............................................................................................................................ 5
Part IV: Features for Professional Developers . ........................................................ 5
Part V: Rich Media . ..................................................................................................................... 5
Part VI: Advanced Topics. ....................................................................................................... 6
Conventions Used in This Book . ................................................................................................... 6
Part I Background
1 Why WPF, and What About Silverlight? 9
A Look at the Past . .................................................................................................................................. 10
Enter WPF . .................................................................................................................................................... 11
The Evolution of WPF. ......................................................................................................................... 14
Enhancements in WPF 3.5 and WPF 3.5 SP1 ...................................................... 15
Enhancements in WPF 4 . ................................................................................................... 16
What About Silverlight? ..................................................................................................................... 18
Summary......................................................................................................................................................... 19
2 XAML Demystified
21
XAML Defined . ......................................................................................................................................... 23
Elements and Attributes ..................................................................................................................... 24
Namespaces . ................................................................................................................................................ 26
Property Elements . .................................................................................................................................. 29
Type Converters. ....................................................................................................................................... 30
Markup Extensions. ................................................................................................................................ 32
Children of Object Elements . ......................................................................................................... 35
The Content Property ............................................................................................................ 35
Collection Items. ......................................................................................................................... 36
More Type Conversion .......................................................................................................... 38
From the Library of Wow! eBook
剩余843页未读,继续阅读
hodull
- 粉丝: 0
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 27页智慧街道信息化建设综合解决方案.pptx
- 计算机二级Ms-Office选择题汇总.doc
- 单链表的插入和删除实验报告 (2).docx
- 单链表的插入和删除实验报告.pdf
- 物联网智能终端项目设备管理方案.pdf
- 如何打造品牌的模式.doc
- 样式控制与页面布局.pdf
- 武汉理工Java实验报告(二).docx
- 2021线上新品消费趋势报告.pdf
- 第3章 Matlab中的矩阵及其运算.docx
- 基于Web的人力资源管理系统的必要性和可行性.doc
- 基于一阶倒立摆的matlab仿真实验.doc
- 速运公司物流管理模式研究教材
- 大数据与管理.pptx
- 单片机课程设计之步进电机.doc
- 大数据与数据挖掘.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3