icollectionview Questions
7
I have a an ObservableCollection and a WPF UserControl is Databound to it. The Control is a graph that shows a vertical bar for each item of type BarData in the ObservableCollection.
ObservableCol...
Praseodymium asked 2/9, 2011 at 14:18
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 ...
Hartnett asked 20/6, 2013 at 12:54
2
Solved
I'm using a an ObservableCollection with two ICollectionView for different filters.
One is for filtering messages by some type, and one is for counting checked messages.
As you can see message fil...
Resurge asked 19/5, 2013 at 11:31
3
I have bound a GridView with an ICollectionView in the XAML designer the properties are not known because the entity in the CollectionView have been transformed into type Object and the entity prop...
Sollows asked 27/11, 2013 at 22:55
3
Solved
How is ICollectionViewLiveShaping implemented for the purpose of filtering? Is it something like:
public ICollectionView WorkersEmployed { get; set; }
WorkersEmployed = new CollectionViewSource {...
Behaviorism asked 25/7, 2013 at 17:47
9
Solved
I have a WPF ListView control, ItemsSource is set to an ICollectionView created this way:
var collectionView =
System.Windows.Data.CollectionViewSource.GetDefaultView(observableCollection);
this...
Zacatecas asked 9/9, 2011 at 15:12
0
If I bound my ListBox to ViewModels ObservableCollection or XAML resourced CollectionViewSource, the mock data shows while in design.
Sometimes CollectionViewSource stops showing this data becaus...
Bushtit asked 29/6, 2016 at 7:48
1
Solved
I got really big ObservableCollection<MyItem> and I need to provide user-friendly filtering on it.
public static async Task RefilterViewAsync(this ItemsControl @this, Predicate<object>...
Terris asked 29/1, 2016 at 18:13
3
I've got an ItemsControl in XAML where I am displaying an expander for each group so I can expand/collapse the group. I want to persist the state of the IsExpanded property (and potentially other s...
Taskwork asked 5/11, 2012 at 15:23
3
Solved
Is possible to convert a Predicate<T> to Expression<Func<T, bool>> in some way?
I would like to use the next IQueryable function using the filters of the my ICollectionView:
pub...
Protege asked 21/3, 2012 at 10:1
4
I am binding property type of ICollectionView on DataGrid controls in WPF, .NET 4.0.
I use Filter on ICollectionView.
public ICollectionView CallsView
{
get
{
return _callsView;
}
set
{
...
Issus asked 28/7, 2011 at 13:9
4
Solved
ObservableCollections raise notifications for each action performed on them. Firstly they dont have bulk add or remove calls, secondly they are not thread safe.
Doesn't this make them slower? Cant...
Yokoyama asked 7/10, 2011 at 12:7
2
Solved
Is there any way to automatically update a filter on an ICollectionView without having to call Refresh() when a relevant change has been made?
I have the following:
[Notify]
public ICollectionVie...
Maleficence asked 18/7, 2013 at 23:59
2
Solved
There are cases when you have many UI updates due a massive amount of INotifyChangedProperties events. In that case you might want to signal the changes to UI only once when all the properties are ...
Fauve asked 17/5, 2011 at 14:14
2
Solved
This is the default sort method when you click on a column header in a DataGrid. When the underlying list contains 100,000 items, it takes about 20 seconds to refresh the view. Same delay can be ob...
Ildaile asked 27/10, 2009 at 21:12
3
maybe someone can help me? I have the following scenario:
A simple view:
<Window x:Class="DataGridSortBug.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns...
Persimmon asked 30/5, 2011 at 13:15
2
Solved
How can I remove item from ICollectionView in c#?
Dictionary<int, String> entityDict;
public ICollectionView DictView { get; set; }
dictView = CollectionViewSource.GetDefaultView(entityDict...
Overdraw asked 19/6, 2011 at 8:53
3
Solved
I want to a property to the current item of a ICollectionView how can I do it? The ICollectionView is used for binding to a combo box, how can I bind another control to the ICollectionView's select...
Poon asked 2/11, 2010 at 13:57
1
Solved
I've written a code for filtering items in ComboBox:
My question is, how would you do that?
I think that this solution with reflection could be very slow..
ICollectionView view = CollectionViewS...
Marcasite asked 26/1, 2010 at 16:44
1
© 2022 - 2024 — McMap. All rights reserved.