WPF 4.5 : Live shaping(filtering, grouping and sorting of collections)(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 7 months, 22 days ago

For each item list used in a WPF application, a collection view is in fact created and used by the controls. This view enables navigation, filtering, grouping and sorting from the XAML or the code. It is a very powerful feature that is offered to the developers since a long time in WPF. In WPF 4.5 as in WPF 4.0 the grouping, sorting and filtering operations are done when the item is added to the collection or when the Refresh method is called. The drawback is that if an item property value involved in one of these operations is updated, then the sorting/grouping/filtering will not be done again. WPF 4.5 introduce a feature called live shaping which shapes the collection view in live. Let’s dig a little more this feature. This post is the tenth part of a serie on the WPF 4.5 new features.

add a comment |category: |Views: 26

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story