Use a BindingListCollectionView from a BindingList from a List<T>(wijix.com)

submitted by pjacobspjacobs(375) 2 years, 10 months ago

Let’s say you have a WPF application with a DataGrid on it. You also have a strongly typed list of objects – I.E. List<Person> which you would normally bind to your grid. You might have been under the misconception that you can’t convert the List<Person> to a BindingListCollectionView. I have searched google for answers and ran across people saying you can’t do that. It is possible and I will show you how to make it happen.

add a comment |category: |Views: 107

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