Chapter 11. MVVM and Application Performance
By Muhammad Shujaat Siddiqi
In this chapter, we will look at some advanced techniques that can be used to help with application performance. Application performance is a vast subject, and we cannot discuss everything in a single chapter. The main focus of this chapter will be to utilize the framework features for improving application performance, with a focus on MVVM.
Asynchronous binding
Binding.IsAsync
allows loading the binding source asynchronously, without blocking the application UI. When using Binding.IsAsync
, WPF will use a ThreadPool
thread to resolve the binding asynchronously. When the data is available from the binding source, it is copied to the Target
property.
- Let us create a small ...
Get MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.