mvvm-light
MVVM: Communication
I am working on a large MVVM application. I am using the MVVM light toolkit for this. The application is like a web browser with back and forward buttons. The main view is an user control. I laid the[详细]
2023-03-28 02:46 分类:问答When to dispose ViewModel in MVVM Light
I\'m looking into getting started using MVVM Light, and I came across the \"new\" ICleanup interface. I was just w开发者_如何学运维ondering when would you cleanup the VM...when you navigate away from[详细]
2023-03-27 20:22 分类:问答Multiple Views that have same ViewModel
In my Application business i have 3 step to def开发者_JAVA技巧ine a person...in each step i get some info fro my person...[详细]
2023-03-27 05:30 分类:问答How pass two parameters into EventToCommand
I have next xaml code. <StackPanel Grid.Row=\"1\" x:Name=\"spLogin\"> <TextBlock Text=\"E-mail:\"></TextBlock>[详细]
2023-03-26 05:31 分类:问答How to attach FrameworkContentElement to MVVM Light EventToCommand
I\'m trying to convert an event to a command on a devexpress wpf grid context menu item which is derived from FrameworkContentElement instead of FrameworkElement. This causes a runtime error :[详细]
2023-03-25 08:08 分类:问答RelayCommand RaiseCanExecuteChanged() fails
I am using a couple of Buttons bound to RelayCommands initialized with CanExecute delegates. RelayCommand DeleteCommand;[详细]
2023-03-25 07:03 分类:问答GalaSoft_MvvmLight_Command:EventToCommand on a button on a ListItem?
What is the syntax for hooking up a mvvm-light EventToCommand on a line item in a data template?For an action on the main model, syntax like the below works fine, however if I am doing an operation on[详细]
2023-03-25 06:52 分类:问答Is the 'Self' construct useful in Silverlight/MVVM?
I\'ve inherited a Silverlight project with dubious code quality overa开发者_运维知识库ll, and there is one construct that I\'m not sure whether I should touch it:[详细]
2023-03-25 05:47 分类:问答Does mvvm light v3 unregister work properly?
Is there a problem with the MvvM-Light v3 unregister? I am registering like this: Messen开发者_StackOverflowger.Default.Register<DialogResponse>(this,[详细]
2023-03-25 00:26 分类:问答Using Data sets in MVVM
What is the best practice to use data sets instead of an observable collection in MVVM to bind to grids. is it OK to have a property of type DataSet on the view model? How is the design time data set[详细]
2023-03-24 09:11 分类:问答