Questions tagged [collectionviewsource]

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

377 questions
0
votes
2 answers

CollectionViewSource and Combobox

I have a problem with a binding. In my application which is a wpf app, I have a Cache class which hold some common data. The data are stored in observablecollections. In my app when I use the Cache data in bindings I use collectionviewsource with…
Christian80
  • 449
  • 1
  • 6
  • 17
0
votes
1 answer

bindings, datacontext,collectionviewsource

I have a custom object that has a handful of properties and a ObservableCollection. The problem I'm having is getting them to all play nicely. It seems I'd like a CollectionViewSource to filter but I cant figure out how that applies so that I can…
jrich523
  • 598
  • 1
  • 5
  • 19
0
votes
2 answers

CollectionViewSource as Class Property Type

I have a Class in my main WPF application which has a Property defined in the class as follows: Public Class AppExample Public PropertyName As CollectionViewSource The project solution also inherits a Class Library (separate project but…
Ben
  • 1,000
  • 2
  • 15
  • 36
0
votes
1 answer

wpf collectionviewsource in viewmodel or xaml code-behind

I am in this dilemma and hope someone can help me out sorry I cannot paste code here as company block posting here. i am trying to use collectionviewsource in xaml. i tried two ways, static resource and cvs.source. first one works pretty well but…
archlight
  • 687
  • 1
  • 6
  • 12
0
votes
1 answer

WPF datagrid - flexible binding for group headers

I have a wpf datagrid with grouped rows, implemented using a CollectionViewSource. It appears the group header templates bind directly to CollectionViewGroup objects, but for some reason these aren't very accessible inside the CVS. You give the…
Tekito
  • 840
  • 8
  • 24
0
votes
1 answer

binding CollectionViewSource Filter with ListBox

I'm a beginner in XAML and C# I have the code below and I can't figure out what to modify to solve these two errors. Requested value 'PropertyChanged' was not found. and 'Cautare.get' must declare a body because it is not marked abstract, extern,…
acadea
  • 37
  • 1
  • 5
0
votes
1 answer

CollectionViewSource Grouping "All Items"

I have created a CollectionViewSource as follows:
gleng
  • 6,185
  • 4
  • 21
  • 35
0
votes
2 answers

How to mimick the behaviour of an ObservableCollection for a List when it is a Source for a CollectionViewSource?

The code below works as follows: a form is shown with a list of sorted names. When the button is clicked a new name is added to the list at the appropriate sorted position from the textbox . When an item of the list is doubleclicked it is prefixed…
Dabblernl
  • 15,831
  • 18
  • 96
  • 148
0
votes
1 answer

Unknown member 'SortDescriptions' on element 'CollectionViewSource'

This is a real newbie question. I feel dumb that I have not figured it out yet. I am trying to add a sort to my CollectionViewSource in my Win 8 App.
Pratt Hinds
  • 225
  • 1
  • 3
  • 13
0
votes
2 answers
0
votes
1 answer

WPF Paged CollectionViewSource

I have a WPF ListBox that I would like to add pagination to as it starts getting slow with a bunch of items. My problem is that I use the Grouping, Sorting, and Filtering. That means if I were to limit the data with the LINQ Skip() and Take()…
Matt Newman
0
votes
1 answer

CollectionViewSource in silverlight

Based on the sample from http://msdn.microsoft.com/en-us/library/ms771725.aspx which is for WPF. I wanted same sample for silverlight as my requirements are same. but i get "AG_E_PARSER_BAD_PROPERTY_VALUE" pointing to in my XAML (FYI:…
user186320
0
votes
1 answer

Bind to the CollectionViewSource of a parent control

I have a composite view that is made up by a parent user control (Counterparties_MainWindow) with to embeded user controls (Counterparties_UserInputs and Counterparties_SystemDetails):
goul
  • 813
  • 1
  • 13
  • 32
0
votes
1 answer

Binding TwoWay to SelectedItem: "Wrong way" synchronization on initialization

I am trying to bind a property of my DataContext to the SelectedItem on a ComboBox like this:
Marc
  • 12,706
  • 7
  • 61
  • 97
0
votes
0 answers

load collectionview source without binding it

I need to load a property when the tab this propertu is in get focus. I tried by creating a collectioview source in the xaml and having itemsource binded to the property
andrea
  • 1,326
  • 7
  • 31
  • 60