Pro WPF 4.5 in C# [electronic resource] : Windows Presentation Foundation in .NET 4.5 /
MacDonald, Matthew.author.
Microsoft's Windows Presentation Foundation (WPF) provides you with a development framework for building high-quality user experiences for the Windows operating system. It blends together rich content from a wide range of sources and allows you unparalleled access to the processing power of your Windows computer. Pro WPF 4.5 in C# provides a thorough, authoritative guide to how WPF really works. Packed with no-nonsense examples and practical advice you'll learn everything you need to know in order to use WPF in a professional setting. The book begins by building a firm foundation of elementary concepts, using your existing C# skills as a frame of reference, before moving on to discuss advanced concepts and demonstrate them in a hands-on way that emphasizes the time and effort savings that can be gained.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; Overlapping Animations; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; PART I Fundamentals; CHAPTER 1 Introducing WPF; The Evolution of Windows Graphics; DirectX: The New Graphics Engine; Hardware Acceleration and WPF; WPF: A Higher-Level API; Resolution Independence; WPF Units; System DPI; Windows Vista; Windows 7 and Windows 8; Bitmap and Vector Graphics; The Architecture of WPF; The Class Hierarchy; System.Threading.DispatcherObject; System.Windows.DependencyObject
System.Windows.Media.VisualSystem.Windows.UIElement; System.Windows.FrameworkElement; System.Windows.Shapes.Shape; System.Windows.Controls.Control; System.Windows.Controls.ContentControl; System.Windows.Controls.ItemsControl; System.Windows.Controls.Panel; WPF 4.5; The WPF Toolkit; Visual Studio 2012; Multitargeting; The Visual Studio Designer; The Last Word; Chapter 2: XAML; Understanding XAML; Graphical User Interfaces Before WPF; The Variants of XAML; XAML Compilation; XAML Basics; XAML Namespaces; The Code-Behind Class; The InitializeComponent() Method; Naming Elements
Properties and Events in XAMLSimple Properties and Type Converters; Complex Properties; Markup Extensions; Attached Properties; Nesting Elements; Special Characters and Whitespace; Events; The Full Eight-Ball Example; Using Types from Other Namespaces; Loading and Compiling XAML; Code-Only; Code and Uncompiled XAML; Code and Compiled XAML; XAML Only; The Last Word; Chapter 3: Layout; Understanding Layout in WPF; The WPF Layout Philosophy; The Layout Process; The Layout Containers; Simple Layout with the StackPanel; Layout Properties; Alignment; Margin; Minimum, Maximum, and Explicit Sizes
The BorderThe WrapPanel and DockPanel; The WrapPanel; The DockPanel; Nesting Layout Containers; The Grid; Fine-Tuning Rows and Columns; Layout Rounding; Spanning Rows and Columns; Splitting Windows; Shared Size Groups; The UniformGrid; Coordinate-Based Layout with the Canvas; Z-Order; The InkCanvas; Layout Examples; A Column of Settings; Dynamic Content; A Modular User Interface; The Last Word; Chapter 4: Dependency Properties; Understanding Dependency Properties; Defining a Dependency Property; Registering a Dependency Property; Adding a Property Wrapper; How WPF Uses Dependency Properties
Shared Dependency PropertiesAttached Dependency Properties; Property Validation; The Validation Callback; The Coercion Callback; The Last Word; Chapter 5: Routed Events; Understanding Routed Events; Defining, Registering, and Wrapping a Routed Event; Sharing Routed Events; Raising a Routed Event; Handling a Routed Event; Event Routing; The RoutedEventArgs Class; Bubbling Events; Handling a Suppressed Event; Attached Events; Tunneling Events; WPF Events; Lifetime Events; Input Events; Keyboard Input; Handling a Key Press; Focus; Getting Key State; Mouse Input; Mouse Clicks; Capturing the Mouse
Drag-and-Drop
Includes index.
Microsoft's Windows Presentation Foundation (WPF) provides you with a development framework for building high-quality user experiences for the Windows operating system. It blends together rich content from a wide range of sources and allows you unparalleled access to the processing power of your Windows computer. Pro WPF 4.5 in C# provides a thorough, authoritative guide to how WPF really works. Packed with no-nonsense examples and practical advice you'll learn everything you need to know in order to use WPF in a professional setting. The book begins by building a firm foundation of elementary concepts, using your existing C# skills as a frame of reference, before moving on to discuss advanced concepts and demonstrate them in a hands-on way that emphasizes the time and effort savings that can be gained.
Windows presentation foundation.
Windows presentation foundation.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.