compositecollection Questions

1

I've set up a CompositeCollection containing two or more collections as follows (simplified): <Grid.Resources> <CollectionViewSource x:Key="CollectionA" Source="{Binding CollectionA}" /&...
Duty asked 6/12, 2017 at 11:21

3

Solved

Is there a way to get notified when CompositeCollection's current location changes? I need to have the CompositeCollection monitored by a CollectionView, any ideas are welcommed.

1

Solved

In another question I recently asked, I was told to use a CompositeCollection in order to access various sources for a ListBox. The example used a XmlDataProvider to provide some dummy data. I, ho...

3

Consider the code: ObservableCollection<string> cities = new ObservableCollection<string>(); ObservableCollection<string> states = new ObservableCollection<string>(); List...
Torrez asked 9/6, 2010 at 9:56

2

Solved

I do not get the correct Binding syntax to access the Cats and Dogs properties of MyViewModel within a DateTemplate that defines a CompositeCollection within its resources. public class MyViewMode...
Towelling asked 8/10, 2013 at 8:49

1

Solved

I have the following ComboBox in WPF. I know that I can add option ALL with CompositeCollection, but I don't know how. It would be great if somebody help me out with a short tutorial. <ComboBox...
Selflove asked 7/9, 2013 at 9:13

1

I'm a little confused about how the data binding works when using these types. I've read that you can't do the following public partial class Window1 : Window { public ObservableCollection<s...

1

Solved

I am writing an application using the MVVM pattern. I am providing data to my view by setting my view's DataContext property to an instance of my ViewModel. Generally I just use Binding from there ...
Recrimination asked 27/7, 2009 at 16:5
1

© 2022 - 2024 — McMap. All rights reserved.