itemssource
How do I get a UserControl derived class thats bound to ObservableCollection to respond to adds?
My collection seems fine as I am able to use a ListView and it responds correctly to adds, however when I nest a listview into a UserControl it doesn\'t.I\'ve provided the pertinent code.[详细]
2023-02-24 22:17 分类:问答Silverlight listbox question
I\'m using listBox.ItemsSource = e.Result.Persons, which is a collection of persons. The listbox show开发者_JS百科s the actual object names when I would like it to show the first name of each person o[详细]
2023-02-19 19:17 分类:问答DataGrid error when selecting a row
The following problem is not simple to explain. I have a Window which contains a DataGrid, and a ViewModel for the window.[详细]
2023-02-19 17:22 分类:问答WPF ListBox ItemsSource with DataTemplate
I have a ListBox with an ItemsSource pointing to a static variable, and a DataTemplate for the ListBox\'s ItemTemplate that should be displaying the Description property of the variable the ItemsSourc[详细]
2023-02-15 23:02 分类:问答WPF DataGrid ItemsSource Binding Issue
I have a DataGrid in a WPF application that binds itself to an ObservableCollection of objects, and everything works fine.[详细]
2023-02-15 14:03 分类:问答WPF Binding nightmares
So I have a Class public class ObjectDataModel { public ObservableCollection<ObjectClassA> MyObjectCollection;[详细]
2023-02-12 21:33 分类:问答Picking the right ItemsSource container
I have a UserControl I\'ve written to display a few properties from a custom object.There are multiple instances of开发者_StackOverflow these objects so I have an ObservableCollection of them so I can[详细]
2023-02-10 22:13 分类:问答WPF - reset ListBox scroll position when ItemsSource changes
I currently have a ListBox whose ItemsSource collection is bound to a property on my viewmodel, of type IEnumerable.When that preoprty\'s reference changes, the ListBox updates as expected, however I[详细]
2023-02-06 09:39 分类:问答C# WPF - ComboBox
I\'m working on a custom control that internally uses a ComboBox. My problem is when the ComboBox is focused and has th开发者_开发问答e drop-down open, it appears to focus the entire control.I would[详细]
2023-02-03 09:22 分类:问答Extension Method not compiling (No defintion for type 'string')
I\'m trying to convert bytes into KB/MB/GB using the code below, however, I can\'t seem to get it working. The value of quota, is 60000000000.[详细]
2023-02-03 09:07 分类:问答