WPF: Application Performance


It’s always worth reading MSDN articles in full as sometimes there a gem at the end of the article: If you have a choice between binding an IList<(Of )>) or an IEnumerable to an ItemsControl object, choose the IList<(Of )>) object. Binding IEnumerable to an ItemsControl forces WPF to create a wrapper IList<(Of )>) object, which means your performance is impacted by the unnecessary overhead of a second object.

INotifyPropertyChanged

About these ads

~ by mdavey on May 13, 2008.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 646 other followers

%d bloggers like this: