1. 首页
  2. 编程语言
  3. C#
  4. WPF 4 Unleashed

WPF 4 Unleashed

上传者: 2019-06-05 10:57:15上传 PDF文件 19.79MB 热度 20次
The #1 WPF Book--Now Updated for WPF 4! Full Color: Code samples appear as they do in Visual Studio! Thorough, authoritative coverage, practical examples, clear writing, and full-color presentation make this one of the most widely acclaimed programming books of the last decade. Windows Presentation F 4 UnleashedEdltor-In-chlefCopyright 2010 by Carson EducationKaren GettrmanAll rights reserved. No part of this book shall be reproduced, stored in a retrievalystem, or Transmitted by any means electronic, mechanical, photocopying, recordingNeil Roweor otherwise, without written permission from the publisher. No patent liability isssumed withof the ion contained herein. Although every Development Editorrecaution has been taken in the preparation of this book, the publisher and authMark Renfrowassume no responsibility for errors or omissions. Nor is any liability assumed fordamages resulting from the use of the information contained heManaging EditorsBN13:9780672331190Kristy HartlsBN-10:C-67233119-5ProJect EdItorLibrary of Congress Calalaging-in-Publicatian DataBetsy HarrisPF 4 uncashed/ Adam NathanCopy editorKitty WilssBN97806723311901. Windows presentation foundation. 2. Application saftware. 3. Micrasaft. NETErika Miller00.7882—(22Kathy Ruiz2C10017765Technical Editorsinted in the united states on americaavneFirst Printing Junc 2010Robert HogueTrademarksJordan parkerAll terms mentioned in this book that are known to be trademarks or service markshave been appropriately capitalized. Sams Publishing cannot attest to the accuracy of Publishing Coordinthis information. Use of a lerm in Ihis baok should not be regarded as affecting theCindy Teetersvalidity of any trademark or service markWarning and DisclaimerBook Designercry cffort has bccn made to make this book as completc and as accurate as possle. but no warranty ar fitness is implied. The information provided is anan"as isCompositlonasis. the author() and the publisher shall have neither liability nor respons ibility toarry person or entity with respect to any loss or damages arising from the informationBronkella Publishing LLCBulk salams Publishing offers excellent discounts on this book when ordered in quantity forbulk purchases or special sales. For more information, please contactcorpsales@pearsontechgroup.comor sales outside of the U.s., please contactContents at a lanceInTroduct1 Why WPF, and What About Silverlight?XAML213 WPF FundamentalsPart ll Building a WPF Application4 Sizing, Positioning, and ' Transforming Elements975 L ayout with Panels6 Input Events: Keyboard, Mouse, Stylus, and Multi-Touch597 Structuring and Deploying an Appl195ExploitingPart II Controls9 Content Controls10 Items control27511 Images, 'Text, and Other ControlsPart Iv Features for Professional Developers4313 Data Binding14 Styles, Templates, Skins, and TheinesPart y Rich Media16 3D GraphicsAnimationdio, Video, and Speech653Part Vi Advanced Topics19 Interoperability with Non-WPF Technologies67520 User Controls and Custon Controls21 Layout with Custorn PanelsTable of contentsWho should read this bookSottware requirementsanplesHow This Book Is organizedilding a WPF ApplicatPart Ill: ControlsPart IV: Features for Professional DevelopersPart V: Rich mediaPart vI: Advanced TopicsPart I Background1 Why WPF, and what About silverlight?Enter WPrThe evolution of wppEnlhanceinerts inl wpf 3.5 and wPF 3.5 SP1Enhancements in WpF 4What About Silverlight?2 XAML DemystifiedProperty Elenentslype coMarkup extensionsChildren of Object ElementsMore TyMixing xaml with procedural codeLoading and Parsing XAMl, at Runtimeiling XamlFulKeys of Any TypBuilt-In System Data 'IypesInstantiating Objects with Non-Default Constructors51Getting Instances via Factory MethodsEvent Handler FlexibilityDefining New PropertiesFun with XaMl Readers and writers53he node l56Reading XAML57Writing to Live Objects61writing to XMLXAML KeywordsSummarvComplaint 1: XML Is Too Verbose to TypeComplaint 2: XML-Based Systems Have Poor Performance3 WPF FundamentalsA Tour of the class hierarchyLogical and visual treesA Dependency Property ImmpleinenitationChange notificationProperty Value lnheritanceapport for Multiple ProvidersAttached PropertiesSummarvBuilding a WPF Application4 Sizing, Positioning, and Transforming elementsHeight and widthMargin and PaddingVisibilityWPF 4 UnleashedControlling Position103Conitent Alignent104Flow DirectionApplying Transforms0810)9kew transferinMatrix transfor112Summary1145 Layout with Panels115anvasWrappanelInteractive Sizing with Gridsplitte132Row and column sizes134Comparing Grid to Other Panels136Primitive panelstabPanel38138ngIppingScaling143Putting It All Together: Creating a Visual Studio-Like Collapsible,47Summary157Content6 Input Events: Keyboard, Mouse, stylus, and Multi-Touch5A Routed Event Implementation160g Strategies and Event HandlersRouted events in actioAttached events65Keyboard events168170Drag and DropStylusDeviceBasic Touch eventsManipulation Events for Panning, Rotating, and ZoomingC188Built-In Commandsds with Input GestuControls with Built-In CoIlInand Bindings1931947 Structuring and deploying an Application195Standard Windows Applications19he Application ClassShowing a Splash Screen205Creating and Showing Dialogs206ring AppDeployment: ClickOnce Versus windows Installer210)Navigation-Based Windows Applications21sing Data Between PaGadget-Style ApplicationsXAML Browser Applications224Integrated Navigation228229Loose xaml pagesSum ma232WPF 4 Unleashed8 Exploiting windows 7Jump lists233234Jum plathTaskbar lter customizations245Item Progress BatAddieOverlay to the Taskbar ItCustomizing the Thumbnail ContentAdding thumb buttons to the taskbar Thum bail248Part Ill Controls9 Content ControlsButtonRepeatE26566Simple Co268268ToolTip2697127310 Items Controls275Common Functionality270Display MemberPath277278ontrolling Scrolling Behavi280SelectorsContentTabControlDatagridOther items controls302ToolBar304Uninary30811 Images, Text, and other Controls309The Image Controlnd Ink ControlsTextBox3161618Creating Flow Docunents318Displaying flow documents2934SliCalendar Controls336336DatePicker338SummaryPart Iv Features for Professional Developers344izing BinaryLogieStatic versus Dynamic resourcesInteraction with System resources36Sunli
用户评论