viewmodel
User control's Dependency Property doesn't get bound in Silverlight
I have created a user control like numeric updown as follows <StackPanel Orientation=\"Horizontal\" VerticalAlignment=\"Top\" >[详细]
2023-04-05 04:06 分类:问答MVVM Multiple Views same ViewModel in Prism
I have a question regarding multiple user controls views with the same view model type. I can\'t seems to find specific answers for my confusion but this is quite speculative.[详细]
2023-04-04 23:48 分类:问答decorating viewmodel with user defined types
This is my view model. I would like to decorate my properties in it. where regionLists is a drop down list and UnAssignedStatesLists, AssignedStatesListsare list boxes. RegionLists ddl should be selec[详细]
2023-04-04 12:39 分类:问答Reading user entered values from multiple partial views on a single MVC page
I am in the process of creating a new MVC v3 Razor web application and seem to be having issues in reading values from partial views.[详细]
2023-04-04 07:46 分类:问答MVC 3 - Controllers and ViewModels - Which should contain most of the business logic?
Currently in my application and using the unit of work pattern and generic repository, all my controllers contain all of the business logic. I\'m in the process of putting everything over to use ViewM[详细]
2023-04-04 03:11 分类:问答Problems with editing using a custom model
I have this data model: public class User { public long UserID { get; set; } [Required(ErrorMessage = \"User name is required.\")][详细]
2023-04-03 16:50 分类:问答Create a new ICommand object in the ViewModel
Both ICommand objects are bound to a ViewModel. The first approach seems to be used often. But the second one saves some lines of code but would it not create everytime a new ICommand object when th[详细]
2023-04-03 16:09 分类:问答Accessing viewModel properties
I have a template binding as follows &l开发者_如何学Ct;tbody id =\"mytemplatetbody\" data-bind=\"template: {name: \'myTemplate\', foreach: Items}\">[详细]
2023-04-03 02:57 分类:问答Own property of UserControl in WPF
I have开发者_开发问答 a user control with 2 grids on it. Now I want to be able to retrieve the grid that has the focus and expose it to my view model. How can I do this in WPF?[详细]
2023-04-02 06:48 分类:问答Suggestions for "Blendable" ViewModelLocator with Unity 2.0
I have an suite of existing Silverlight applications using the MVVM pattern to separate Views and ViewModels.We use Unity 2.0 for an IoC container to inject dependencies into the ViewModel classes (an[详细]
2023-04-02 03:47 分类:问答