Questions tagged [collectionviewsource]

The Extensible Application Markup Language (XAML) proxy of a CollectionView class.

377 questions
0
votes
1 answer

WPF ComboBox Binding with Converter

Ok, here's the deal. I have a CollectionViewSource:
argledhel
  • 167
  • 2
  • 3
  • 16
0
votes
1 answer

Using Two GroupDescriptions on a ListView

I have a listbox which contains a collection of Photos. The photos are currently Grouped by the Date they were taken. E.g.: ---03/09/14 03/09/14 photo 1, 03/09/14 photo 2, 03/09/14 photo 3, --02/09/14 02/09/14 Photo 1 02/09/14 Photo…
JKennedy
  • 18,150
  • 17
  • 114
  • 198
0
votes
1 answer

How to obtain Multi-level hierarchy with CollectionViewSource to bind to Semantic Zoom in Windows 8.1

I have a Windows 8.1 Application in which I am trying to achieve 3 levels of Hierarchy with CollectionViewSource and then Bind it to my Semantic Zoom My model class looks as follows class Transaction { string id {get; set;} string name {get;…
HelpMatters
  • 1,299
  • 1
  • 13
  • 32
0
votes
0 answers

DataGrid Scrolling / Sorting Error

I have a Datagrid
Charles W
  • 2,262
  • 3
  • 25
  • 38
0
votes
1 answer

CollectionViewSource - uneven grouping

Im using the WPF-Toolkit DataGrid with an CollectionViewSource as Source. With PropertyGroupDescriptions I can create and display groups in the Grid. My problem is that i cannot create "uneven" groups,…
user290397
0
votes
0 answers

Why does this FilterEventHandler seem to remain in the CollectionViewSource filter even after the filter is set to null?

Summary: I'm creating a simple application for practice, where the user can maintain and query a collection of Things. On the UI are several TextBoxes and ComboBoxes with which they can filter the collection. The three buttons I'm concerned with…
Torr
  • 81
  • 1
  • 3
  • 10
0
votes
0 answers

Dynamically create a treeview in windows phone 8 from Json data

I am trying to create a Treeview dynamically in Windows Phone 8 from the json response from my server. This json response is nested to nested like a question asked in stackoverflow. I am very confused what approach me should use, i have deseriazlied…
0
votes
1 answer

CollectionViewSource and Linq

What is the easiest way to find an item in CollectionViewSource? I can't seem to find a linq friendly property. I would like to do something like MyCollectionViewSource.View.Where(x=>x...) Cheers, Berryl
Berryl
  • 12,471
  • 22
  • 98
  • 182
0
votes
1 answer

How to make CollectionViewSource display List on a DataGrid

I have 3 datagrids. Second and third datagrid should show only subset of values from the first datagrid based on the selected row on the first datagrid. C#: _context.MyFor.Load(); F = new ObservableCollection(_context.MyFor.Local); In…
David S
  • 723
  • 1
  • 6
  • 7
0
votes
1 answer

WPF - Using CollectionViewSource is Causing Erroneous Setter Call

WPF, MVVM I'm finding that if I use a CollectionViewSource with my ComboBox, when I close the window, an extra call to the SelectedValue Setter is executing, if SelectedValue is bound to a string property. If I set the ItemsSource binding directly…
Digital Camel
  • 175
  • 2
  • 14
0
votes
1 answer

Binding CollectionViewSource multilevel groups to nested HierarchicalDataTemplate

Only the the first level tree node is visible without any child, but my CollectionViewSource has groups with atleast one item. How can i bind the to child's ItemSource to Items property within each group.
Alex David
  • 585
  • 1
  • 11
  • 32
0
votes
1 answer

CollectionViewSource Edit and Add Mode are not stable

I'm using CollectionViewSource and EntityFramework in my WPF project, and whenever user insert or edit a record, and want to save it, I will find it like this (MyCVS.View as ListCollectionView).IsAddingNew Or (MyCVS.View as…
mohammad jannesary
  • 1,811
  • 1
  • 26
  • 27
0
votes
1 answer

Is it possible multiple filters in one collection view source wpf

I know one filter in one collection view source but when i use multiple filters in one collection source.Last filter only properly works.Please help me to do multiple filters in one collection view source. Xaml
munisamy
  • 17
  • 2
  • 7
0
votes
3 answers

What does Binding Path=Name mean in WPF?

I am newbie and am confused of some syntax of ListBox.GroupStyle. The code:
Lei Yang
  • 3,970
  • 6
  • 38
  • 59
0
votes
1 answer

what's the difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?

I know CollectionViewSource support grouping and sorting, except this, is there any other difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?
James
  • 2,570
  • 7
  • 34
  • 57