LearnWPF.com

来源:百度文库 编辑:神马文学网 时间:2024/05/01 16:59:03
Goodbye battleship-grey
Home
Books
Getting Started
Fundamentals
Controls
Animation
Data Binding
Layout
Administration
RSS 2.0 Contact
Sponsors

WPF Resources
windowsclient.net Microsoft's Windows Client community site covering WPF + WinFormsWPF on the MSDN Got a question? Ask the experts on theWPF Forum on MSDN.Expression Interactive Designer News Group.xamlshare.com - xaml code samples Michael Swanson'sWPF Tools ListXamlDev Community Site
WPF Books
Available for Pre-Order
Chris Anderson's Essential WPF is available for pre-order from Amazon.
Available Now
Charles Petzold's Applications = Code + Markup is available for now.Adam Nathan's Windows Presentation Foundation Unleashed is available now.
Read our review of "Programming Windows Presentation Foundation" by Chris Sells and Ian Griffithshere. Lori MacVittie's new XAML book from O'Reilly is now available.
Recent Posts
4 Free WPF Utilities I Use Every Day, that come with source!Adding Simeltaneous Video Recording + Playback to WPFMediaKit's VideoCaptureElementFree Embeddable Fonts for your WPF Applications.NET Framework 4.0 Solves the Single Biggest Problem with WPF DevelopmentThe Visual Guide to WPF Font WeightsRound Gel-like button template for WPFWhere are the default templates for FlowDocumentScrollViewer located?Composite Application Guidance for WPF and Silverlight ReleasedFree reuxables WPF Theme - Paperlite available for a limited timeNew Window Chrome Materials - a not-too-serious look into the future
Posts for Category: Books
4 Expression Blend Books Available for Pre-Order from Amazon
With Expression Blend now officially released, andincluded as part of an MSDN subscription it seems to be an increasingly important tool for WPF developers as well as designers. Here are 4 recently announced books that can help you get up to speed with Expression Blend.
Expression Blend Unleashedby Brennon Williams is scheduled for release in October and will be around 500 pages long. Brennon runs thehttp://expressionblend.com community site. This is Brennon’s first book project that I know of.

Pro Expression Blendby Ryan Moore and Darren Lutz from APress is scheduled for release in late August and will be around 400 pages long. Ryan is also the author of a book on ASP.NET for flash developers.

Professional Expression Blendwritten by Shawn Livermore, Rob Ferrante, August Banks and Tony Ferreira brings together many of the “usual suspects” from Wrox’ stable of authors. It is scheduled for release in late July, and will be around 400 pages long.

Expression Blend Bibleby Gurdy and Mary Leete from Wiley and scheduled for release in early June. It will be around 750 pages long. Gurdy has previously authored a number of books on Macromedia (now Adobe) Flash.

 
posted on 2007/5/7 21:09:06
Chris Anderson's WPF book available for pre-order from Amazon
WPF architectChris Anderson has been working on a book explaining his wonderful creation for quite some time now. The book is just under 500 pages long and should be available at the end of April, but you canpre-order it now on Amazon. I can't wait to read this one to get insights from Chris as to the "why" of certain bits of WPF design. The book also has anaccompanying page on Chris' site which contains a link to thefirst 9 pages of the book in XPS format, and will hopefully include code downloads and such when the book is released.

 
posted on 2007/2/6 7:46:32
Two WPF Titles from APress
APress have announced two upcoming WPF titles which are available for pre-order from Amazon.
The first isFoundations of WPF which is scheduled for release towards the end of November this year, and will be around 400 pages long. It will be devided into three sections covering "WPF in context", deeper dives into relevant areas of WPF and finally real-world perspectives on building WPF applications.

The second isPro WPF scheduled for release in late January and weighing in at 800 pages. Topics it aims to cover are WPF basics (Xaml, layout, control essentials and data flow), WPF applications (navigation, commands, localization and deployment), Advanced Controls (the menu, toolbar and tree controls as well as authoring custom controls), WPF document support (printing, laying out text etc.) and finally graphics and multimedia (shapes, sound, video, animation)

With all thegreat reviewsCharles Petzold's book which is now available has been receiving, and the high standard set byChris Sells and Ian Griffiths it will be interesting to see how these books stack up.
 
posted on 2006/9/2 1:02:12
Adam Nathan's Windows Presentation Foundation Unleashed available for pre-order on Amazon
Adam Nathan (of .NET and COM andpinvoke fame) has been working on a WPF book - Windows Presentation Foundation Unleashed, which isnow available for pre-order on Amazon. It's scheduled for release in mid-September, and will be around 570 pages long. This release, coupled with the Charles Petzold book "Applications = Code + Markup" which is supposed to be available a week earlier (and isalso can be pre-ordered) will no doubt bring some great new perspectives on WPF development from these two excellent technical authors.

RecentlyAdam showed us an excerpt of some material from the book - the use of Vista's Aero Glass effects in a WPF application, which requires WPF Beta 2. I can't wait for the book to be released. I love the colour scheme of the cover too - don't shades of brown and orange look good together?

 
posted on 2006/5/19 1:18:22
Professional WPF Programming from Wrox Press is available for pre-order
Professional WPF Programming : .NET Development with the Windows Presentation Foundation from Wrox Press isavailable for pre-order on Amazon. This title is co-authored byScott Van Vliet,Shawn W. Livermore and Chris Andrade. The book will be around 650 pages and is due for release in early October 2006. None of the authors are notable figures in the WPF community, however by limiting the number of co-authors to 3 this book will hopefully not suffer from the weaknesses that plague other books in the series that are co-authored by dozens of authors and lack cohesion. The book description raises a number of other interesting questions - frequent mentions of ASP.NET and talk of "built-in server controls" and mention of "Ajax/Atlas" makes the book sound at best like a very web-centric view of WPF, and at worst fundamentally misguided about what WPF is really about. Hopefully the final book will be better written than the current description that appears on Amazon.
 
posted on 2006/4/17 21:15:51
Charles Petzold's WPF Book - "Applications = Code + Markup" available for pre-order
The godfather of Windows UI programming Charles Petzold has been writing a book on WPF programming for some time now. Fortunately the book isavailable now for pre-order from Amazon. The book will weigh in between 800 and 900 pages with approximately 36 chapters devided into 3 sections: Code, Markup and Applications (which ties back in nicely to the title). The contents of the book are detailedhere, and you can read code samples from the book and details of topics covered onCharles' weblog. If previous books from the author are anything to go by this book should give in-depth coverage of the WPF platform. The book is scheduled to ship in Q3 or Q4 2006. Charles has been writing books on Windows UI programming since 1988, which saw his "Programming Windows 1st Edition", and its subsequent editions are considered the definitive works on Win32 UI programming.

 
posted on 2006/4/9 14:49:11
New XAML Book - "XAML in a nutshell" coming from O'Reilly
O'Reilly have another WPF-related book - "XAML in a Nutshell" coming at the end of march/early april. Pre-order on Amazonhere. The blurb makes it sound more WPF-centric than purely focusing on XAML: "The Windows Vista operating system will support applications that employ graphics now used by computer games-clear, stunning and active. The cornerstone for building these user interfaces is XAML, the XML-based markup language that works with Windows Presentation Foundation, Vista's new graphics subsystem. This book teaches you everything necessary to design the new generation of user interfaces and .NET applications, with plenty of examples to get you started." [full description from O'Reilly]. With stable-mate "Programming Windows Presentation Foundation" setting the bar so high this one will have to be pretty good to differentiate itself. [found via Andrew Stopford]

 
posted on 2006/3/2 15:35:56
Book Review - Programming Windows Presentation Foundation

Authors: Chris Sells & Ian Griffiths
Publisher: O'Reilly
ISBN: 0-596-10113-9
buy from Amazon
Overview: Chris Sells and Ian Griffiths, experts and authors in the Windows Forms arena (and before that MFC and ATL) have written the best WPF book on the market*. At 420 pages the book is slimmer than the authors’ past forays into Windows Forms, but still does a great job of covering the main aspects of WPF. The book was written against the beta 1 version of WPF, and there have been substantial changes to some parts of WPF since it was written. Fortunately Chris Sells ismaintaining a list of the changes here. A second edition of the book against the RTM version of WPF is planned for later this year. As the first book on WPF on the market it has set a high standard which other books will have to meet. This book is a great way to get started learning WPF.
Chapter 1: Overview of WPF – I don’t quite know how they do it but Chris and Ian manage to cover off all the basics of WPF, from writing WPF in C# to XAML, layout, content model, data binding and deployment.
Chapter 2: Layout – A good overview of elements for controlling layout (various kinds of panels), as well as text layout. I would have liked to see more Grid hacks in this chapter.
Chapter 3: Controls – Explains the WPF eventing system (routed events) and the types of events the various input devices can generate for controls. This chapter then explains Commands (a concept that is often used but now has built-in support in WPF), before going on to cover the basics of many of the built-in controls. Because of the number of controls the treatment given to each is fairly focused on “what makes this thing different” rather than listing off every single property and method.
Chapter 4: Data Binding – This chapter gives good coverage to one of the cooler features in WPF – data binding. It begins with an application where we “roll our own” data binding code to synchronize changes between a number of input and display controls. After showing how complex this can become (even with a relatively small number of controls) we are relieved to discover that WPF does it all for us with concise syntax. The examples show binding to objects and Xml documents (but unfortunately not to relational data because the WPF support for it at the time of writing was immature). We learn about binding to lists of data, sorting, filtering, asynchronous data retrieval and master-detail binding. Well worth reading.
Chapter 5: Styles and Control Templates – Shows how styles (similar to HTML styles, but defined in XAML) can be used to customize the look of controls. Triggers which allow the look of a control to be changed when a property has a certain value are explained for both controls and data. This chapter also shows how data can be “styled” in the same way that controls can, and finally how the entire rendering for a control can be replaced with a Control Template. I thought the coverage of some of these topics could have been expanded. For example the section on control templating could probably cover an entire chapter. This chapter is available on-linehere.
Chapter 6: Resources – This chapter explains what resources are (things like brushes, styles and images are things that you might want to define in a single place and re-use throughout your app via resources), how they are scoped and the different APIs for accessing them. This chapter then goes on to discuss skinning and themeing using resources, before moving on to localizing your WPF app.
Chapter 7: Graphics – This chapter begins with an overview of some of the fundamentals of the WPF graphics system, answering important questions like “what IS a logical pixel anyway?” and “how can my button be 20.5 pixels wide?”. This lays the foundations for discussions on graphics primitives like shapes, brushes, pens, rectangles, ellipses, lines, polygons and finally the all-powerful path (which can do all the things the others can do). Discussion of brushes covers solid colour, linear and radial gradient brushes (WPF programs should have gradients on every control) before moving on to the more esoteric ImageBrush, DrawingBrush and VisualBrush. VisualBrush is useful for painting something with the contents of some other part of your UI, making it useful for magnification and reflections. Transformations are shown, as well as an introduction to the lower-level Visual-Layer API. Video and 3D are given a brief mention and code sample also. This chapter had a lot of ground to cover – the WPF graphics system could probably fill a whole book – and some of the topics such as the difference between the Viewbox and Viewport will probably be fairly boring on the first read, but this is still an important chapter.
Chapter 8: Animation – Describes the new animation system in WPF beginning with important introductory concepts such as “what properties can be animated?” before moving on to cover timelines and their important properties, and how they can be nested, storyboards (which group animations together), key frames (where “important points in time” can be defined and WPF will manage moving between those important points in an appropriate manner), and creating and calling animations procedurally. This chapter has one of my favorite lines from the book “When a nested timeline with a RepeatBehavior of Forever reaches the end of its duration, it goes back to the start and continues to repeat until the end of time, but only for small values of ‘the end of time’.”
Chapter 9: Custom Controls – Although controls will probably end up being less important in WPF than they have been in legacy UI technologies (due to the great things that can be done with templating and styling) this chapter does a good job of describing the process of building a control from scratch, deciding what class to inherit from, exposing attached properties and routed events and providing visuals that can be overridden in the WPF way.
Chapter 10: ClickOnce Deployment – This chapter does a workman-like job of describing the ins and outs of deploying WPF applications with ClickOnce. Apart from describing the ability for WPF applications to be hosted in the browser most of the material here is not specific to WPF.
Appendix A: XAML – Its hard to gauge how important it will be to have a full understanding of XAML going forward (since tools may remove the need for designers and developers to know it), but at this stage (early 2006) the tool support is not good enough to remove the need to know it altogether. Reading the book will give you a good understanding of the basics of XAML, but this chapter goes further – explicitly explaining the mechanisms behind things like Markup Extensions, showing how to alias CLR namespaces to XML namespaces in XAML and other interesting topics. Its probably desirable that you read this appendix after reading the first couple of chapters of the book to remove uncertainty about how XAML works.
Appendix B: Interoperability – This appendix discusses what happened to the HWNDs in WPF (they went away) and how you can bring them back if you need to. This allows WPF to host HWND-based UI controls (MFC, WindowsForms) and allow WPF controls to be hosted in MFC and Windows Forms, and the limitations imposed on said hosting.
Appendix C: Asynchronous and Multithreaded Programming in WPF Applications – The need to care about which thread is doing updates to UI does not go away in WPF. This Chapter discusses the Dispatcher which can be used to jump onto the right thread, as well as using the BackgroundWorker to do updates on the correct thread.
* At this stage it is the only WPF book on the market.
 
posted on 2006/2/20 6:17:02
Copyright © 2006 LearnWPF.com