Questions tagged [icollectionview]

An interface that enables collections to have the functionalities of current record management, custom sorting, filtering, and grouping.

The ICollectionView Interface, available in .NET 3+, enables collections to have the functionalities of current record management, custom sorting, filtering, and grouping.

http://msdn.microsoft.com/en-us/library/system.componentmodel.icollectionview.aspx

135 questions
1
vote
0 answers

can not access CollectionViewSource.GetDefaultView and ICollectionView.Filter

Hi I am trying to filter a ListBox using CollectionViewSource and ICollectionView but I am not able to access them. The definetion does not have the above mention properties. Any idea why? I am developing an Windows based universal application. My…
BRDroid
  • 3,920
  • 8
  • 65
  • 143
1
vote
1 answer

ICollectionView.SortDescriptions sort does not work if underlying DataTable has zero rows

We have a WPF app that has a DataGrid inside a ListView. private DataTable table_; We do a bunch or dynamic column generation ( depending on the report we are showing ) We then do the a query and fill the DataTable row by row, this query may or may…
BigBlondeViking
  • 3,853
  • 1
  • 32
  • 28
1
vote
0 answers

Wpf - ICollectionView refresh causes style override to fail

I have a default style for a menu item and context menu styles as follows: