mvvm
Can we use domain model at UI layer in MVVM pattern
Can I use domain model at UI layer instead of view model in some of the views. If No开发者_JAVA百科. Why shouldn\'t I use?If you are exposing some model objects in a list to an ItemsSource, I think th[详细]
2023-04-09 13:54 分类:问答Using MVVM to Solve Combobox Interaction
I\'m new to WPF and I haven\'t used MVVM yet but I think I\'m in a situation where it might help. In my program I\'ve got several comboboxes that all have the same comboboxitems and when the user ma[详细]
2023-04-09 11:32 分类:问答Can I use most of my code in an ASP.NET MVC3 app?
I wrote a simple WPF Application as an example: Model: public class User { public String FirstName { get; set; }[详细]
2023-04-09 05:28 分类:问答Can I do this without reflection?
For a pr开发者_JAVA百科esentation involving six components of a Person object\'s PersonName, I added an extension and a \'mini view model\' (PersonNamePropertyTextBox) to cut down on duplicated code a[详细]
2023-04-08 14:04 分类:问答How should I Implement Localization on Wpf Application using MVVM pattern?
I am working on a wpf application using Devexpress Tool and following MVVM pattern.. I have applied Localization on it using Locbaml Tool and it is working perfectly fine but justfor the View.[详细]
2023-04-08 11:09 分类:问答Silverlight ComboBox in DataGrid Binding SelectedItem problem
I have a combobox in datagrid.I use Silverlight 4.0 and MVVM. My code works fine,unless when I removed a record from datagrid and add another one, the SelectedValue binding for combobox in added row d[详细]
2023-04-08 10:45 分类:问答Keybinding on a treeview item, with CommandParameter
I\'m trying to execute a command located on my ViewModel, using a TreeViewItem with a KeyBinding, and a MenuContext.[详细]
2023-04-08 10:31 分类:问答IEditableCollectionView loses selection on CommitEdit
I have CollectionViewSource in which dates grouped by years and months. Dates are displayed in TreeView (accurately in RadTreeView).[详细]
2023-04-08 09:46 分类:问答Conditional Keybinding
I was wandering if someone could explain to me how I could do a conditional key binding (u开发者_JAVA百科sing an MVVM pattern), at the moment I have[详细]
2023-04-08 09:19 分类:问答Seeking a more elegant method to populate a WPF DataGrid with dynamic columns (one column for each object's property)
I am trying to setup a WPF datagrid. The standard datagrid is setup to accept a list of objects which are displayed on different rows, with a column for each property. I actually need to do the invers[详细]
2023-04-08 09:01 分类:问答