collectionviewsource Questions
1
Solved
Why there is no .Net interface for ICollectionView<T>? Looking at ICollectionView it seems quite obvious to expect for ICollectionView<T>.
Am I missing something?
Handset asked 18/10, 2012 at 0:16
3
Solved
I have implemented small demo of CollectionViewSource for WPF DataGrid in MVVM. I would really appreciate any help to verify the implementation and comment on whether this is the right approach to ...
Therefrom asked 26/9, 2012 at 10:11
1
Solved
On my ViewModel, I have 2 properties (both implement property changed notifications) :
CountryOfIssue
Nationality
On my View, I have a CollectionViewSource pointing to a local instance of my Ent...
Complect asked 11/9, 2012 at 10:2
3
Solved
I wanted to bind to an ObservableCollection in XAML and also apply the grouping there. In principle, this worked fine.
<UserControl.Resources>
<CollectionViewSource x:Key="cvs" Source="{...
Carltoncarly asked 15/6, 2012 at 7:48
4
Solved
Lets say we got a simple VM class
public class PersonViewModel : Observable
{
private Person m_Person= new Person("Mike", "Smith");
private readonly ObservableCollection<Person> m_Availa...
Pessary asked 10/6, 2011 at 11:20
2
Solved
Is there a XAML only way to automatically sort the bound items (list of ViewModel object) ItemsControl based on one of the properties of the items. The ItemsControl is part of a DataTemplate. I tho...
Coyote asked 28/8, 2009 at 16:14
1
Solved
Cannot bind the CollectionViewSource
DocProps is a public property
public ObservableCollection<DocProp> DocProps1
DataContext is self
DataContext="{Binding RelativeSource={RelativeSourc...
Inhospitable asked 8/4, 2012 at 20:6
2
Solved
I have a bunch of combos that all share the same available choices. These choices are provided in a collection exposed from my ViewModel. All fine and dandy.
I now want these choices sorted, so I ...
Mismanage asked 6/4, 2012 at 10:24
1
Solved
I have a view databound through mvvm light to a viewmodel in my WP7 project.
The view contains a Listbox with following settings:
<ListBox x:Name="StationList"
ItemsSource="{Binding StationLis...
Sculpin asked 30/7, 2011 at 20:36
3
'ContentTemplate' is a DataTemplate that displays an object which has a member 'FooList' (an ObservableCollection).
<DataTemplate x:Key="ContentTemplate">
<ListBox ItemsSource="{Binding ...
Yorker asked 28/7, 2010 at 23:24
2
Solved
I'm using a CollectionViewSource to group my data. In my data, I have Property1 and Property2 that I'm needing to group on.
The only stipulation is that I don't want sub-groups of another group. ...
Killiecrankie asked 8/10, 2010 at 20:47
2
Ok, so this question is related to Windows Phone 7/Silverlight (updated WP7 Tools, Sept 2010), specifically filtering an underlying ObservableCollection<T>.
In mucking about with the WP7 tem...
Raffia asked 22/9, 2010 at 16:38
1
Solved
Is it possible to explicitly use a CollectionViewSource inside a data template? Normally we'd put the CollectionViewSource in the resources alongside the template, but our model doesn't allow that ...
Cracy asked 20/10, 2010 at 15:26
1
Solved
I have a list of "stuff" which needs to be filtered then displayed in a grouped and sorted manner. The data needed to calculate the grouping and sorting order is not available as simple properties ...
Kaon asked 11/5, 2010 at 8:2
2
Solved
I've written a Custom WPF Control with search extension, let's name it MyControl.
The Control is a descendent of an ItemsControl class.
So I feed the the data source to it like this:
The control...
Diode asked 29/1, 2010 at 7:19
1
Solved
I am trying to do a basic use of CollectionViewSource and I must be missing something because it is just not working. Here is my XAML:
<Window.Resources>
<CollectionViewSource Source="{B...
Schoolhouse asked 23/1, 2010 at 21:50
3
Solved
I am trying to display a set of data using a DataTemplate in an ItemsControl, with the ItemsPanel set as a uniform grid of size 3 x 3. The ItemsSource of the ItemsControl is set to bind to a Collec...
Conlan asked 16/12, 2009 at 13:55
© 2022 - 2024 — McMap. All rights reserved.