listcollectionview Questions

1

What are the differences between CollectionViewSource, ICollectionView, ListCollectionView, IList and BindingListCollectionView? When and where to use all these collections? I know the main use of ...

6

I've been investigating how to avoid memory leaks caused by strong references to the INotifyCollectionChanged event from a view model. I was playing around with using a ListCollectionView to see if...
Ferd asked 21/4, 2011 at 20:23

3

Solved

I'm creating a WPF TimeCard app using the MVVM design pattern, and I'm trying to display the sum (total) hours the user has clocked in grouped by each day. I have a ListView with all of the TimeCar...
Text asked 6/2, 2010 at 4:11

1

Solved

I have a ViewModel containing a ListCollectionView property, and a View containing a ListView control whose ItemsSource property is data bound to the ListCollectionView: ViewModel: public ListCo...

1

Solved

I have a database with 10,000 items, to which you can add and remove while the app is running. I have a ListBox that displays at most 100 items, and supports paging. You can filter and sort on th...
Mcquiston asked 16/4, 2015 at 20:1

3

Solved

How does ListCollectionView.AddNew determine the type of object it creates, and how could one affect it? I have a hierarchy of a few types (Base, DerivedA, and DerivedB), and currently my WPF Tool...
Landholder asked 8/5, 2009 at 20:20

1

<!-- GroupHeaderStyle --> <Style x:Key="GroupHeaderStyle" TargetType="{x:Type GroupItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:...
Turtle asked 6/10, 2011 at 11:10

4

Solved

none of these seem to do the trick: var source = myViewModel.MyListCollectionView.Select(x => x as MyType); var source = myViewModel.MyListCollectionView.Select<object, MyType>(x => x ...
Odelle asked 26/5, 2011 at 17:26

2

I'm using the MVVM design pattern, with a ListView bound to a ListCollectionView on the ViewModel. I also have several comboboxes that are used to filter the ListView. When the user selects an item...
Predictory asked 20/12, 2009 at 5:23

1

Solved

I'm trying to bind a text box to the count of a filtered, collection view in XAML. It doesn't generate any errors but it also doesn't produce any output. Does anyone know how to do this? Here's ar...
Kiethkiev asked 21/7, 2009 at 9:54
1

© 2022 - 2024 — McMap. All rights reserved.