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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With