Atnaujinkite slapukų nuostatas

El. knyga: Sams Teach Yourself WPF in 24 Hours

3.86/5 (53 ratings by Goodreads)
  • Formatas: EPUB+DRM
  • Serija: Sams Teach Yourself
  • Išleidimo metai: 19-Jun-2008
  • Leidėjas: Sams Publishing
  • Kalba: eng
  • ISBN-13: 9780132715584
Kitos knygos pagal šią temą:
  • Formatas: EPUB+DRM
  • Serija: Sams Teach Yourself
  • Išleidimo metai: 19-Jun-2008
  • Leidėjas: Sams Publishing
  • Kalba: eng
  • ISBN-13: 9780132715584
Kitos knygos pagal šią temą:

DRM apribojimai

  • Kopijuoti:

    neleidžiama

  • Spausdinti:

    neleidžiama

  • El. knygos naudojimas:

    Skaitmeninių teisių valdymas (DRM)
    Leidykla pateikė šią knygą šifruota forma, o tai reiškia, kad norint ją atrakinti ir perskaityti reikia įdiegti nemokamą programinę įrangą. Norint skaityti šią el. knygą, turite susikurti Adobe ID . Daugiau informacijos  čia. El. knygą galima atsisiųsti į 6 įrenginius (vienas vartotojas su tuo pačiu Adobe ID).

    Reikalinga programinė įranga
    Norint skaityti šią el. knygą mobiliajame įrenginyje (telefone ar planšetiniame kompiuteryje), turite įdiegti šią nemokamą programėlę: PocketBook Reader (iOS / Android)

    Norint skaityti šią el. knygą asmeniniame arba „Mac“ kompiuteryje, Jums reikalinga  Adobe Digital Editions “ (tai nemokama programa, specialiai sukurta el. knygoms. Tai nėra tas pats, kas „Adobe Reader“, kurią tikriausiai jau turite savo kompiuteryje.)

    Negalite skaityti šios el. knygos naudodami „Amazon Kindle“.

Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio.

 

In just 24 sessions of one hour or less, you will be able to begin effectively using WPF to solve real-world problems, developing rich user interfaces in less time than you thought possible.

 

Using a straightforward, step-by-step approach, each lesson builds on a real-world foundation forged in both technology and business matters, allowing you to learn the essentials of WPF from the ground up.

 

Step-by-step instructions carefully walk you through the most common questions, issues, and tasks.

The Q&A sections, quizzes, and exercises help you build and test your knowledge.

By the Way notes present interesting pieces of information.

Did You Know? tips offer advice or teach an easier way to do something.

Watch Out! cautions advise you about potential problems and help you steer clear of disaster.

 

Learn how to...





Use XAML to build user interfaces Leverage data binding to minimize tedious code Create visually engaging applications Architect and design WPF applications using proven patterns such as MVP Incorporate audio and video into your applications Customize controls with styles, templates, and animation Apply best practices for developing software with WPF Deploy WPF applications to the desktop and Web Take advantage of WPFs advanced printing capabilities Grow as a developer by improving your overall software design skills

 

Introduction 1

Part I                   Getting Started

1      What WPF Is and Isnt 5

2      Understanding XAML 17

3      Introducing the Font Viewer 27

4      Handling Application Layout 41

5      Using Basic Controls 59

6      Introducing Data Binding 75

Part II        Reaching the User

7      Designing an Application 93

8      Building a Text Document Editor 107

9      Getting a Handle on Events 121

10    Commands 145

11    Output 157

Part III      Visualizing Data

12    Building a Contact Manager 177

13    Presenters and Views 193

14    Resources and Styles 211

15    Digging Deeper into Data Binding 229

16    Visualizing Lists 251

Part IV       Creating Rich Experiences

17    Building a Media Viewer 267

18    Drawing with Shapes 291

19    Colors and Brushes 315

20    Transforms and Effects 331

21    Using Control Templates 347

22    Triggers 369

23    Animation 383

24    Best Practices 407

Part V         Appendixes

Appendix A: Tools and Resources 423

Appendix B: 3D Tutorial Using ZAM 3D 427

Appendix C: Project Source (downloadable) 437

Index 439

Daugiau informacijos

Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio.

 

In just 24 sessions of one hour or less, you will be able to begin effectively using WPF to solve real-world problems, developing rich user interfaces in less time than you thought possible.

 

Using a straightforward, step-by-step approach, each lesson builds on a real-world foundation forged in both technology and business matters, allowing you to learn the essentials of WPF from the ground up.

 

Step-by-step instructions carefully walk you through the most common questions, issues, and tasks.

The Q&A sections, quizzes, and exercises help you build and test your knowledge.

By the Way notes present interesting pieces of information.

Did You Know? tips offer advice or teach an easier way to do something.

Watch Out! cautions advise you about potential problems and help you steer clear of disaster.

 

Learn how to...





Use XAML to build user interfaces Leverage data binding to minimize tedious code Create visually engaging applications Architect and design WPF applications using proven patterns such as MVP Incorporate audio and video into your applications Customize controls with styles, templates, and animation Apply best practices for developing software with WPF Deploy WPF applications to the desktop and Web Take advantage of WPFs advanced printing capabilities Grow as a developer by improving your overall software design skills

 

Introduction 1

Part I                   Getting Started

1      What WPF Is and Isnt 5

2      Understanding XAML 17

3      Introducing the Font Viewer 27

4      Handling Application Layout 41

5      Using Basic Controls 59

6      Introducing Data Binding 75

Part II        Reaching the User

7      Designing an Application 93

8      Building a Text Document Editor 107

9      Getting a Handle on Events 121

10    Commands 145

11    Output 157

Part III      Visualizing Data

12    Building a Contact Manager 177

13    Presenters and Views 193

14    Resources and Styles 211

15    Digging Deeper into Data Binding 229

16    Visualizing Lists 251

Part IV       Creating Rich Experiences

17    Building a Media Viewer 267

18    Drawing with Shapes 291

19    Colors and Brushes 315

20    Transforms and Effects 331

21    Using Control Templates 347

22    Triggers 369

23    Animation 383

24    Best Practices 407

Part V         Appendixes

Appendix A: Tools and Resources 423

Appendix B: 3D Tutorial Using ZAM 3D 427

Appendix C: Project Source (downloadable) 437

Index 439
Introduction 1(4)
Part I: Getting Started
What WPF Is and Isn't
5(12)
What Is WPF?
5(2)
Getting to Know the Features of WPF
7(3)
Why Use WPF?
10(1)
Comparing WPF to Other Options
11(1)
The Pieces of .NET Framework
12(1)
Tools for WPF
13(1)
Constrasting WPF with Silverlight
14(1)
Summary
15(1)
Q&A
15(1)
Workshop
16(1)
Understanding XAML
17(10)
What Is XAML?
17(2)
The Syntax of XAML
19(5)
Summary
24(1)
Q&A
24(1)
Workshop
25(2)
Introducing the Font Viewer
27(14)
Building the Font Viewer
27(12)
Summary
39(1)
Q&A
39(1)
Workshop
39(2)
Handling Application Layout
41(18)
Understanding Layout
41(1)
Using Alignment and Margin
42(3)
Using Panels to Create Dynamic Layouts
45(1)
Using a StackPanel
45(2)
Mastering DockPanel
47(2)
Using a Grid
49(3)
Understanding How WrapPanel Works
52(1)
Exploit Canvas for Precision Layout
53(1)
Enhancing a UI with Decorators
54(2)
Building Up a Layout
56(1)
Summary
57(1)
Q&A
57(1)
Workshop
57(2)
Using Basic Controls
59(16)
Leveraging Controls
59(1)
Working with Text
60(1)
Displaying Rich Text with the TextBlock
60(1)
Gathering Text from the User
61(3)
Accessing Controls with a Label
64(3)
Using Buttons
67(1)
Triggering Actions with a Button
67(1)
Making Choices with ToggleButtons
68(3)
Displaying a List with ListBox
71(1)
Summary
72(1)
Q&A
72(1)
Workshop
73(2)
Introducing Data Binding
75(18)
What Is Data Binding?
75(1)
Binding Two Controls Together
76(2)
Two-Way Data Binding
78(7)
Demonstrating Automatic Change Notification
85(4)
Another Data Binding Syntax
89(1)
Summary
89(1)
Q&A
89(1)
Workshop
90(3)
Part II: Reaching the User
Designing an Application
93(14)
Deployment Models in WPF
93(5)
Navigation Models in WPF
98(2)
User Controls
100(4)
Summary
104(1)
Q&A
104(1)
Workshop
105(2)
Building a Text Document Editor
107(14)
Designing a Text Editor
107(1)
Creating the Application Layout
108(1)
Adding Usability with ToolBars
109(1)
Increasing Maintainability with User Controls
110(3)
Using a Menu
113(2)
Working with Rich TextBox
115(3)
Summary
118(1)
Q&A
119(1)
Workshop
119(2)
Getting a Handle on Events
121(24)
What Are Routed Events?
121(6)
Using Routed Events
127(1)
Handling Events in the Text Editor
128(3)
Making the Text Editor Work as Expected
131(8)
Preview Events
139(3)
Summary
142(1)
Q&A
142(1)
Workshop
142(3)
Commands
145(12)
What Are Commands?
145(1)
Using Commands
146(2)
Binding Commands to the Menu
148(1)
Customizing Commands
149(2)
Adding More Commands to the Text Editor
151(2)
Determining If a Command Is Available
153(1)
Creating an Input Binding
153(2)
Summary
155(1)
Q&A
155(1)
Workshop
156(1)
Output
157(20)
Making the Text Editor Print
157(1)
Implementing a Custom Document Paginator
158(3)
Developing a Print Manager
161(3)
Adding Print Preview
164(4)
Outputting Bitmaps
168(4)
Summary
172(1)
Q&A
172(1)
Workshop
173(4)
Part III: Visualizing Data
Building a Contact Manager
177(16)
Design a Contact Manager
177(1)
Choosing an Architecture
178(1)
Creating the Solution and Application Shell
179(3)
Defining the Model
182(6)
Abstract the Data Store
188(2)
Summary
190(1)
Q&A
191(1)
Workshop
191(2)
Presenters and Views
193(18)
Creating a Custom Base Class for Presenters
193(1)
Completing the Tab UI Infrastructure
194(2)
Implementing the Application Presenter
196(4)
Enhancing the Shell
200(1)
Building an Edit Contact Screen
201(6)
Summary
207(1)
Q&A
208(1)
Workshop
208(3)
Resources and Styles
211(18)
Defining Resources
211(2)
Combining Resources
213(1)
Using Resources in the UI
214(2)
Factoring Resource Files
216(1)
Defining Styles
217(3)
Using Keyed Styles
220(6)
Factoring Styles
226(1)
Summary
227(1)
Q&A
227(1)
Workshop
228(1)
Digging Deeper into Data Binding
229(22)
Handling Advanced Data Binding Scenarios
229(3)
Binding Data in Code
232(2)
Observing Change in Collections
234(5)
Formatting Bound Data
239(8)
Understanding Collection Views
247(2)
Summary
249(1)
Q&A
249(1)
Workshop
250(1)
Visualizing Lists
251(16)
The Control Hierarchy
251(1)
Dissecting ItemsControl
252(4)
Customizing the SideBar
256(4)
Studying Selector
260(1)
Using Selector
260(2)
Summary
262(1)
Q&A
262(1)
Workshop
262(5)
Part IV: Creating Rich Experiences
Building a Media Viewer
267(24)
Defining the Requirements
267(1)
Setting Up the Solution
268(3)
Implementing the Menu Screen
271(3)
Building the Model
274(3)
Creating the Picture Screen
277(5)
Understanding Media
282(4)
Finalizing the Media Player Functionality
286(3)
Summary
289(1)
Q&A
289(1)
Workshop
289(2)
Drawing with Shapes
291(24)
Drawing Basic Shapes
291(12)
Styling the Media Controls
303(3)
Paths and Complex Drawings
306(4)
Stream Geometry
310(1)
Summary
311(1)
Q&A
312(1)
Workshop
312(3)
Colors and Brushes
315(16)
Using Colors
315(1)
Choosing Colors
316(2)
Introducing Brushes
318(1)
Leveraging LinearGradientBrush
319(2)
Working with RadialGradientBrush
321(2)
Understanding DrawingBrush
323(3)
Applying a VisualBrush
326(2)
Summary
328(1)
Q&A
328(1)
Workshop
328(3)
Transforms and Effects
331(16)
Understanding Transforms
331(4)
Differentiating Render and Layout Transforms
335(2)
Adding Transforms to the Media Viewer
337(2)
Introducing BitmapEffect
339(3)
Adding a BitmapEffect to the Media Viewer
342(2)
Summary
344(1)
Q&A
344(1)
Workshop
344(3)
Using Control Templates
347(22)
Understanding Control Templates
347(4)
Telling the Template What to Do
351(2)
Adding Templates to Our Application
353(5)
Identifying Special Parts in Templates
358(4)
Creating a Flexible Template
362(4)
The Benefit of Control Templates
366(1)
Summary
366(1)
Q&A
366(1)
Workshop
367(2)
Triggers
369(14)
Leveraging Triggers
369(4)
Using a DataTrigger
373(4)
Adding Animation with EventTrigger
377(3)
Understanding Trigger Restrictions
380(1)
Advanced Trigger Scenarios
380(1)
Summary
381(1)
Q&A
382(1)
Workshop
382(1)
Animation
383(24)
Understanding Animation in General
383(1)
Understanding Animation in WPF
384(4)
Animations in the Media Viewer
388(2)
Resolving the Target Property
390(1)
Where to Put Your Animations
391(1)
Achieving the Desired Effect
392(2)
Animating with Key Frames
394(2)
Animating with a Path
396(2)
Controlling an Animation
398(2)
Alternative Animation Techniques
400(1)
Clock Animations
400(1)
Applying Animations to Media Viewer
401(4)
Summary
405(1)
Q&A
405(1)
Workshop
406(1)
Best Practices
407(32)
Application Design
407(5)
UI Design and Architecture Concerns
412(2)
Technical Considerations
414(3)
Coding Conventions
417(1)
Summary
418(1)
Q&A
418(1)
Workshop
419(4)
Part V: Appendixes
Appendix A: Tools and Resources
423(4)
Developer Tools
423(1)
Desiger Tools
424(1)
XAML Converters
424(1)
Application Frameworks
425(1)
Additional Resources
426(1)
Appendix B: 3D Tutorial Using ZAM 3D
427(10)
Understanding the Interface
427(1)
Creating a Carrot
428(9)
Appendix C: Project Source (downloadable)
437(2)
Index 439
Rob Eisenberg is vice president and cofounder of Blue Spire Consulting, Inc. (www.bluespire.com). He is a frequent blogger in the Devlicio.us (www.devlicio.us) blogging community and speaks at various community events on the subjects of WPF, Agile, and TDD. His career began in music composition, which very naturally led him into interactive media. He was drawn to the .NET Framework by the persistent recommendations of his present business partner and soon after discovered WPF. Rob has been working with WPF since the prebeta days and was among the top 20 finalists in Microsofts Code Master Challenge in 2006. In his spare time, he enjoys playing and teaching drums, making artisan cheese, reading, and swing dancing with his lovely wife, Anna.

Christopher Bennage is the president and cofounder of Blue Spire Consulting, Inc., a Florida-based software consulting firm specializing in .NET technologies and emphasizing personal interactions with the customer. Christopher began programming on his Texas Instrument in elementary school but fell in love with computers with the advent of the Commodore Amiga. His career has brought him through various technologies beginning with Lotus Notes, VBA, and classic ASP before eventually landing him in the marvelous world of C# and the .NET Framework. His early interest in Flash, rich user experiences, and usability led him to be an early adopter of both WPF and Silverlight. Christopher embraces the values of the Agile Software Manifesto and has been heavily influenced by Extreme Programming, Domain Driven Design, and other related practices. In his free time, Christopher is usually very distracted by a dozen different, competing creative ideas. Aside from that he can sometimes be found playing Frisbee golf, guitar, or video games. He lives in Tallahassee, Florida, with his wife, Sandra, and their two children, Adah and Ranen (soon to be three children).