observablecollection
silverlight: 3 nested Collections in listboxes inside ItemsControl, bind selected items to one collection
I have the following object structure: An AllProducts object is an ObsCol of ProductGroups objects, a ProductGroup is an ObsCol ofLineItems, and a LineItems object is an ObsCol of LineItem objects[详细]
2023-03-28 13:03 分类:问答Can I bind a textblock's content to only part of a string in an observable collection?
I\'m relatively new to WPF so apologies if there is an obvious or simple answer to this that I am not seeing.[详细]
2023-03-28 11:01 分类:问答permanently sorting a collection
I have an observable collection that is exposed to the user by a collectionviewsource. One of the properties on the items in the collection is sortorder. I am trying to allow the user to permanently r[详细]
2023-03-28 04:50 分类:问答Why am I getting a NullReferenceException when trying to subclass from an ObservableCollection or BindingList?
I\'m using ObservableCollections as the ItemsSource for some of my bindings, and have run into a scenario where I would like to call OnCollectionChanged manually to notify that the list should be re-c[详细]
2023-03-27 00:52 分类:问答Do I need to implement INotifyPropertyChanged when using EF Code-First?
I\'m noticing that when using EF CodeFirst, and binding my UI to an ObservableCollection<T> via the DBSet.Local property recommended here, that the UI will update when entities are added to the[详细]
2023-03-26 15:52 分类:问答Making a control to slide images one at a time along a collection, Windows Phone 7
This might seem like an easy answer, but I am in need of a bit of help getting my head around this. I have a listbox displaying RSS items from my website, bound to a list. When a user clicks on a spe[详细]
2023-03-26 12:39 分类:问答Can't find ObservableCollection in System.Collections.ObjectModel
Two WPF projects, same machine, browse Collections.ObjectModel one has ObservableCollections and says // Type: System.Collections.ObjectModel.ObservableCollection`1[详细]
2023-03-25 19:43 分类:问答wpf adding new items to a listbox
Sorry if the Syntax is off, i typed this on Notepad, (temp. issues with computer with VS) i have a class Movie with a Title property, i have[详细]
2023-03-25 16:14 分类:问答Bind to a class within ObservableCollection<T>
I am trying to bind a Silverlig开发者_如何学Goht Datagrid to an ObservableCollection<T>. Specifically I have ObservableCollection<Target> where target has the following properties: Hierar[详细]
2023-03-25 14:13 分类:问答wpf access lisbox selected item if it isn't string
I have a listbox which displays Name property from an array of Movie objects <ListBox Name=\"listBox1\" SelectionChanged=\"listBox1_SelectionChanged\">[详细]
2023-03-25 11:18 分类:问答