Silverlight 4 Unleashed - Bugnion_ Laurent.pdf

(25757 KB) Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
870678168.013.png
Laurent Bugnion
Silverlight 4
UNLEASHED
800 East 96th Street, Indianapolis, Indiana 46240 USA
870678168.014.png 870678168.015.png 870678168.016.png 870678168.001.png 870678168.002.png 870678168.003.png 870678168.004.png 870678168.005.png 870678168.006.png
 
Silverlight 4 Unleashed
Copyright © 2011 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-33336-8
ISBN-10: 0-672-33336-1
Library of Congress Cataloging-in-Publication Data
Bugnion, Laurent.
Silverlight 4 unleashed / Laurent Bugnion.
p. cm.
Includes index.
ISBN 978-0-672-33336-1
1. Silverlight (Electronic resource) 2. Multimedia systems. 3. Application software—
Development. 4. Web site development. 5. Internet programming. 6. User interfaces
(Computer systems) I. Title.
QA76.575.B839 2011
006.7’6—dc22
Editor-in-Chief
Karen Gettman
Executive Editor
Neil Rowe
Development Editor
Mark Renfrow
Managing Editor
Kristy Hart
Project Editor
Andy Beaster
Copy Editor
Keith Cline
Indexer
Brad Herriman
Proofreader
Jennifer Gallant
Technical Editor
Peter Bromberg
2010040175
Printed in the United States on America
First Printing October 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 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
Publishing
Coordinator
Cindy Teeters
Book Designer
Gary Adair
Composition
Gloria Schurick
870678168.007.png 870678168.008.png
Contents at a Glance
Foreword ....................................................................................................xxiii
Introduction....................................................................................................1
1
Three Years of Silverlight ................................................................................7
2
Setting Up and Discovering Your Environment .........................................27
3
Extending Your Application with Controls .................................................49
4
Investigating Existing Controls . .................................................................75
5
Understanding Dependency Properties .....................................................103
6
Working with Data: Binding, Grouping, Sorting, and Filtering ...............129
7
Understanding the Model-View-ViewModel Pattern ................................157
8
Using Data Controls ..................................................................................187
9
Connecting to the Web .............................................................................215
10
Creating Resources, Styles, and Templates . ..............................................247
11
Mastering Expression Blend ......................................................................273
12
Sketching User Experience .........................................................................301
13
Creating Line-of-Business Applications .....................................................329
14
Enhancing Line-of-Business Applications and
Running Out of the Browser .....................................................................365
15
Developing Navigation Applications and Silverlight for
Windows Phone 7 ......................................................................................401
16
Using Effects and Recording Media ...........................................................435
17
New Transforms, Right Click, HTML Browser, WebBrowserBrush, and
Isolated Storage ...........................................................................................467
18
Drag and Drop, Full Screen, Clipboard, COM Interop, Duplex Polling,
Notification Windows, and Splash Screens................................................503
19
Authentication, Event to Command Binding, Random Animations,
Multitouch, Local Communication, and Bing Maps Control ...................539
20
Building Extensible and Maintainable Applications .................................573
21
Optimizing Performance ...........................................................................609
22
Advanced Development Techniques . ........................................................641
Conclusion ..................................................................................................675
Index ...........................................................................................................677
870678168.009.png 870678168.010.png
Table of Contents
Foreword
xxiii
Introduction
1
1
870678168.011.png 870678168.012.png
Zgłoś jeśli naruszono regulamin