Binding to the selected items of a ListBox (or an another items contro(blog.lexique-du-net.com)

submitted by jmix90jmix90(570) 1 year, 11 months ago

A problem you often meet when using MVVM is to get the selected items of an items control, especially Listbox. You can easily bind the selected item or the current items but when multi selection comes in the way, it becomes harder because the SelectedItems (with an 's' property is not available to binding). In this article we will discover an easy way to bind yourself with an attached property to the SelectedItems property of the ListBox control.

add a comment |category: |Views: 74

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