E-Book, Englisch, 1040 Seiten
MacDonald Pro WPF in C# 2008
2. ed
ISBN: 978-1-4302-0576-0
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Windows Presentation Foundation with .NET 3.5
E-Book, Englisch, 1040 Seiten
ISBN: 978-1-4302-0576-0
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
The Microsoft Windows Presentation Foundation (WPF) blends application user interface, documents, and media content to provide richer control, design, and development of the visual aspects of Windows programs. In this book, author Matthew MacDonald shows you how WPF really works. His no-nonsense, practical advice will get you quickly and easily building high-quality WPF applications. MacDonald takes you through a thorough investigation of the more advanced aspects of WPF, and its relation to other elements of the WinFX stack and the .NET Framework 3.5, to complete your understanding of WPF and C# 2008.
Matthew MacDonald is an author,educator, and MCSD developer who has a passion for emerging technologies. He isthe author of more than a dozen books about .NET programming. In a dimly-remembered past life, he studied English literature and theoretical physics.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;6
3;About the Author;21
4;About the Technical Reviewer;22
5;Acknowledgments;23
6;Introduction;24
6.1;About This Book;25
7;Introducing WPF;29
7.1;Understanding Windows Graphics;29
7.2;WPF: A Higher- Level API;32
7.3;The Architecture of WPF;43
7.4;The Last Word;48
8;XAML;49
8.1;Understanding XAML;50
8.2;XAML Basics;53
8.3;Properties and Events in XAML;58
8.4;Using Types from Other Namespaces;72
8.5;Loading and Compiling XAML;74
8.6;The Last Word;82
9;The Application;84
9.1;The Application Life Cycle;84
9.2;Application Tasks;91
9.3;The Last Word;101
10;Layout;102
10.1;Understanding Layout in WPF;102
10.2;Simple Layout with the StackPanel;106
10.3;The WrapPanel and DockPanel;113
10.4;The Grid;118
10.5;Coordinate- Based Layout with the Canvas;131
10.6;Layout Examples;136
10.7;The Last Word;141
11;Content;143
11.1;Understanding Content Controls;143
11.2;Specialized Containers;149
11.3;Decorators;159
11.4;The Last Word;162
12;Dependency Properties and Routed Events;163
12.1;Understanding Dependency Properties;163
12.2;Understanding Routed Events;175
12.3;WPF Events;189
12.4;The Last Word;203
13;Classic Controls;204
13.1;The Control Class;204
13.2;Content Controls;215
13.3;Text Controls;227
13.4;List Controls;231
13.5;Range- Based Controls;236
13.6;The Last Word;239
14;Windows;240
14.1;The Window Class;240
14.2;Window Interaction;247
14.3;Nonrectangular Windows;252
14.4;Vista- Style Windows;260
14.5;The Last Word;268
15;Pages and Navigation;269
15.1;Understanding Page- Based Navigation;269
15.2;Page- Based Interfaces;270
15.3;The Page History;281
15.4;The Navigation Service;284
15.5;XAML Browser Applications;297
15.6;The Last Word;311
16;Commands;312
16.1;Understanding Commands;312
16.2;The WPF Command Model;314
16.3;Executing Commands;318
16.4;Advanced Commands;329
16.5;The Last Word;338
17;Resources;340
17.1;Assembly Resources;340
17.2;Localization;346
17.3;Object Resources;356
17.4;The Last Word;370
18;Styles;372
18.1;Style Basics;372
18.2;Triggers;383
18.3;Last Word;388
19;Shapes, Transforms, and Brushes;389
19.1;Understanding Shapes;389
19.2;Transforms;407
19.3;Better Brushes;412
19.4;Bitmap Effects;425
19.5;The Last Word;430
20;Geometries, Drawings, and Visuals;431
20.1;Paths and Geometries;431
20.2;Drawings;447
20.3;Visuals;453
20.4;The Last Word;465
21;Control Templates;466
21.1;Understanding Logical Trees and Visual Trees;466
21.2;Understanding Templates;472
21.3;Creating Control Templates;479
21.4;Organizing Template Resources;486
21.5;Building More Complex Templates;495
21.6;The Last Word;511
22;Data Binding;512
22.1;Data Binding Basics;512
22.2;Binding to a Database with Custom Objects;528
22.3;Binding to a Collection of Objects;537
22.4;Data Conversion;547
22.5;Validation;557
22.6;The Last Word;569
23;Data Templates, Data Views, and Data Providers;571
23.1;Data Binding Redux;571
23.2;Data Templates;572
23.3;Data Views;594
23.4;Data Providers;610
23.5;The Last Word;616
24;Lists, Trees, Toolbars, and Menus;617
24.1;The ItemsControl Class;618
24.2;The ListView;627
24.3;The TreeView;641
24.4;Menus;650
24.5;Toolbars and Status Bars;656
24.6;The Last Word;661
25;Documents;662
25.1;Understanding Documents;662
25.2;Flow Documents;663
25.3;Read- Only Flow Document Containers;687
25.4;Editing a Flow Document;693
25.5;Fixed Documents;700
25.6;Annotations;702
25.7;Last Word;715
26;Printing;716
26.1;Basic Printing;716
26.2;Custom Printing;729
26.3;Print Settings and Management;738
26.4;Printing Through XPS;743
26.5;The Last Word;747
27;Animation;748
27.1;Understanding WPF Animation;748
27.2;Basic Animation;750
27.3;Declarative Animation and Storyboards;765
27.4;Animation Types Revisited;782
27.5;The Last Word;801
28;Sound and Video;802
28.1;Playing WAV Audio;802
28.2;The MediaPlayer;806
28.3;The MediaElement;808
28.4;Speech;823
28.5;The Last Word;827
29;3-D Drawing;828
29.1;3- D Drawing Basics;829
29.2;Deeper into 3- D;842
29.3;Interactivity and Animations;857
29.4;The Last Word;872
30;Custom Elements;873
30.1;Understanding Custom Elements in WPF;874
30.2;Building a Basic User Control;876
30.3;Lookless Controls;888
30.4;Extending an Existing Control;897
30.5;Custom Panels;905
30.6;Custom- Drawn Elements;913
30.7;The Last Word;920
31;Interacting with Windows Forms;921
31.1;Assessing Interoperability;921
31.2;Mixing Windows and Forms;924
31.3;Creating Windows with Mixed Content;932
31.4;The Last Word;943
32;Multithreading and Add-Ins;944
32.1;Multithreading;944
32.2;Application Add- Ins;957
32.3;The Last Word;980
33;ClickOnce Deployment;981
33.1;Application Deployment;981
33.2;A Simple ClickOnce Publication;985
33.3;ClickOnce Options;993
33.4;The Last Word;997
34;Index;998




