Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does too much data binding make WPF application slow? What are the optimization techniques that are available?

I have completed a project on WPF? I wanted to know which are the possible techniques to optimize my code especially XAML and Data binding.

Tricks to have efficient data binding.

Please note I am using MVVM architecture.

like image 211
Gurucharan Balakuntla Maheshku Avatar asked Dec 29 '10 07:12

Gurucharan Balakuntla Maheshku


People also ask

What is data binding in WPF?

Data binding in Windows Presentation Foundation (WPF) provides a simple and consistent way for apps to present and interact with data. Elements can be bound to data from different kinds of data sources in the form of . NET objects and XML.

How does WPF rendering work?

WPF uses vector graphics as its rendering data format. Vector graphics—which include Scalable Vector Graphics (SVG), Windows metafiles (. wmf), and TrueType fonts—store rendering data and transmit it as a list of instructions that describe how to recreate an image using graphics primitives.


1 Answers

MSDN contains a nice WPF optimisation article here - http://msdn.microsoft.com/en-us/library/aa970683.aspx, with a section specifically on data binding here - http://msdn.microsoft.com/en-us/library/bb613546.aspx

like image 141
devdigital Avatar answered Sep 23 '22 18:09

devdigital