𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

MASTERING WINDOWS PRESENTATION FOUNDATION

✍ Scribed by SHERIDAN YUEN


Publisher
PACKT Publishing Limited
Year
2020
Tongue
English
Leaves
617
Edition
2
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Cover
Title Page
Copyright and Credits
About Packt
Contributors
Table of Contents
Preface
Chapter 1: A Smarter Way of Working with WPF
What is MVVM and how does it help?
Models
View Models
Views
Data binding
So how does MVVM help?
Is there a downside?
Debunking the myth about code behind
Learning how to communicate again
Introducing the ICommand interface
Handling events in Attached Properties
Making use of delegates
Structuring the application code base
Summary
Chapter 2: Debugging WPF Applications
Utilizing the output window
Putting Presentation Trace Sources to work
Discovering inner exceptions
Debugging data bound values
Outputting values to UI controls
Catching changing Dependency Property values
Exploiting converters
Summary
Chapter 3: Writing Custom Application Frameworks
What is an application framework?
Encapsulating common functionality
In base classes
Through interfaces
With Extension Methods
In UI controls
With converters
Constructing a custom application framework
Separating the Data Access Layer
Providing services
Implementing Dependency Injection
Connecting Views with View Models
Locating View Models
Summary
Chapter 4: Becoming Proficient with Data Binding
Data binding basics
Binding path syntax
Escaping invalid characters
Exploring the Binding class
Directing data bound traffic
Binding to different sources
Binding with priority
Binding from within control templates
Binding source changes
Converting data bound values
Binding multiple sources to a single target property
Dependency Properties
Setting metadata
Declaring read-only Dependency Properties
Registering Attached Properties
Prioritizing value setting sources
Data templates
Taking complete control
Displaying hierarchical data
Data binding to enumeration collections
Summary
Chapter 5: Using the Right Controls for the Job
Investigating the built-in controls
Inheriting framework abilities
Laying it on the line
Containing controls
Canvas
DockPanel
Grid
StackPanel
UniformGrid
WrapPanel
Providing custom layout behavior
Content controls
Presenting content
Items controls
Adorners
Modifying existing controls
Styling
Being resourceful
Merging resources
Triggering changes
Templating controls
Attaching properties
Combining controls
Creating custom controls
Summary
Chapter 6: Adapting the Built-In Controls
Inspecting protected methods
Clipping the layout
Altering default behavior
Creating overridable methods
Tailoring to attain our requirements
Populating with Data
Progressing toward the Target
Highlighting the selection
Indicating in the Axes
Emphasizing the Selection
Summary
Chapter 7: Mastering Practical Animations
Investigating timelines
Introducing key-frames
Telling stories
Controlling storyboards
Easing functions
Animating along a path
Creating everyday animations
Summary
Chapter 8: Creating Visually Appealing User Interfaces
Styling applications consistently
Overriding default control styles
Using professional icons
Layering visuals
Throwing shadows
Declaring multiple borders
Reusing composite visuals
Reflecting light
Creating glowing effects
Putting it all together
Moving away from the ordinary
Casting reflections
Exploring borderless windows
Visualizing data
Livening up the UI controls
Summary
Chapter 9: Implementing Responsive Data Validation
Using validation rules – to do or not to do?
Getting to grips with validation interfaces
Implementing the IDataErrorInfo interface
Introducing the INotifyDataErrorInfo interface
Annotating data
Varying levels of validation
Incorporating multiple validation techniques
Customizing the error template
Avoiding UI-based validation errors
Keeping Synchronized with Legacy Behavior
Amalgamating validation and visuals
Summary
Chapter 10: Completing that Great User Experience
Providing user feedback
Utilizing multiple threads
Discovering the Async and Await keywords
Building asynchrony into our framework
Going the extra mile
Producing in-application help
Enabling user preferences
Extending common courtesies
Unburdening the end user
Summary
Chapter 11: Improving Application Performance
Leveraging the power of hardware rendering
Making more efficient resources
Freezing objects
Using the right controls for performance
Drawing conclusions
Imaging more efficiently
Enhancing the performance of textual output
Liking the linking
Data binding
Registering Dependency Properties
Binding to collections
Shrinking data objects
Virtualizing collections
Handling events
Summary
Chapter 12: Deploying Your Masterpiece Application
Installing Windows applications
Introducing theΒ Setup Project
Working with theΒ InstallShield Limited Edition project
Utilizing ClickOnce functionality
Securing deployments
Isolating storage
Accessing application versions
Summary
Chapter 13: What Next?
Turning your attention to future projects
Improving our application framework
Logging errors
Using online resources
Other Books You May Enjoy
Index


πŸ“œ SIMILAR VOLUMES


Mastering Windows Presentation Foundatio
✍ Sheridan Yuen πŸ“‚ Library πŸ“… 2017 πŸ› Packt Publishing 🌐 English

<p><span>Master the art of building modern desktop applications on Windows</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Learn how to use the MVVM software architectural pattern and see the benefits of using it with Windows Presentation Fountain (WPF)</span></span></li><li><span><s

Programming Windows Presentation Foundat
✍ Chris Sells, Ian Griffiths πŸ“‚ Library πŸ“… 2005 πŸ› O'Reilly Media 🌐 English

<DIV><p>Windows Presentation Foundation (WPF) (formerly known by its code name "Avalon") is a brand-new presentation framework for Windows XP and Windows Vista, the next version of the Windows client operating system. For developers, WPF is a cornucopia of new technologies, including a new graphics

Microsoft Windows Presentation Foundatio
✍ Π§Π°Ρ€Π»ΡŒΠ· ΠŸΠ΅Ρ‚Ρ†ΠΎΠ»ΡŒΠ΄ πŸ“‚ Library πŸ“… 2008 πŸ› "Π˜Π·Π΄Π°Ρ‚Π΅Π»ΡŒΡΡ‚Π²ΠΎ Русская РСдакция; БПб.: ΠŸΠΈΡ‚Π΅Ρ€" 🌐 Russian
Programming Windows Presentation Foundat
✍ Chris Sells, Ian Griffiths πŸ“‚ Library πŸ“… 2005 πŸ› O'Reilly Media 🌐 English

With the new Windows Vista operating system comes a graphic subsystem with a vector-based framework called the "Windows Presentation Foundation" (WPF) for building user interfaces. Formerly known as Avalon, WPF combines control-based Windows and content-based web worlds. Written for developers, this

Windows Presentation Foundation Unleashe
✍ Adam Nathan πŸ“‚ Library πŸ“… 2007 πŸ› Sams 🌐 English

Windows Presentation Foundation (WPF) is a key component of the .NET Framework 3.0, giving you the power to create richer and more compelling applications than you dreamed possible. Whether you want to develop traditional user interfaces or integrate 3D graphics, audio/video, animation, dynamic skin

Essential Windows presentation foundatio
✍ Chris Anderson πŸ“‚ Library πŸ“… 2007 πŸ› Addison-Wesley 🌐 English

Windows Presentation Foundation (WPF) replaces Microsoft's diverse presentation technologies with a unified, state-of-the-art platform for building rich applications. WPF combines the best of Windows and the Web; fully integrates user interfaces, documents, and media; and leverages the full power of