itemsource
ItemsControl ItemsSource lazy loading
Image you are creating a custom control behaving like ComboBox in WPF. As a source of items you provide IQueryable<T> (or any kind of IEnumerable collection),[详细]
2023-04-09 12:58 分类:问答Why does the DataGrid not update when the ItemsSource is changed?
I have a datagrid in my wpf application and I have a simple problem. I have a generic list and I want to bind this collection to my datagrid data source every time an object is being added to the coll[详细]
2023-03-28 14:39 分类:问答View order of derived class variables in Silverlight DataGrid
I have the following situation in a Visual Studio 2010 (C#) Silverlight 4 project using the DataGrid (this is ps开发者_运维问答eudocode for brevity sake):[详细]
2023-03-03 10:54 分类:问答ItemsControl-wrapping the contents inside the window
I am using an ItemsControl inside a window in WPF. The itemscontrol is bound with a collection and the collection is a group of view models(user controls). My problem - the view is going beyond the cu[详细]
2023-02-18 05:43 分类:问答Setting up a TreeView in Silverlight with a HierarchicalDataTemplate and Binding with ItemSource
I am trying to build a TreeView and have it set up like this link: Silverlight vs WPF - Treeview with HierarchialDataTemplate[详细]
2023-02-16 02:48 分类:问答How to bind the ItemSource inside the DataGrid to an element outside the DataContext, eg. ViewModel in Silverlight 4
I have a DataGrid with some text columns and a button. I want to bind button to a command on the ViewModel. Since, Columns are inside the context of the ItemSource, i want to change the DataContext fo[详细]
2023-02-05 17:49 分类:问答Why DisplayMemeberPath doesn't accept a standard property?
I am binding a List of object to a ComboBox. <ComboBox Name=\"comboPerson\"DisplayMemberPath=\"Name\"/>[详细]
2023-01-26 13:04 分类:问答Combo box Item source = ObservableCollection & I need a '-None-' dummy entry at the top
I have a combo box using an observable collection as a datasource and I want a \"dummy\" value of \"None\" as the first item in the box as it controls filters against other data sources.[详细]
2022-12-26 10:10 分类:问答