mvvm-light
using viewmodel to control button click
i m trying to control the button_click through the viewmodel(MVVM). I\'ve used following code to create the command[详细]
2023-04-01 00:24 分类:问答MVVM Light EventToCommand and Silverlight DataForm - I need the EventArgs and a custom CommandParameter. Possible?
I have a DataForm bound to a collection of RoleViewModel objects.I\'m using MVVMLight\'s EventToCommand behaviour bound to the EditEnding event of the DataForm to inform my ViewModel when a Role has b[详细]
2023-03-30 23:15 分类:问答Silverlight 4 : ChildWindow Disables UserControl After 2 View/Hide Operations
I am facing a very unusual problem, i have a UserControl which shows ChildWindow to performsome operation on this ChildWindow, i close it when done with my operations and the (say) open it again, it w[详细]
2023-03-30 22:48 分类:问答In mvvm-light wouldn't it make sense to have BaseViewModel implement IDataErrorInfo
I\'ve been looking into MVVM t开发者_JAVA百科oolkits, and MVVM light really appeals to me, especially do to it\'s focus on \"blendability\".I put forth the proposal to our engineering team that we mov[详细]
2023-03-30 02:25 分类:问答EventToCommand - how to prevent recursive/reentrant calls when handling selectionchanged
Please see mockup code here I am creating an interactive search page that fetches data as the user inputs criteria.To make a long story short I have several combo boxes that have their SelectionChang[详细]
2023-03-29 15:24 分类:问答Unregister(this) unregisters this instance from everything?
I am using the mvvm light toolkit for a project and I used to explicitly unregister to all the types of messages each instanc开发者_开发百科e was registered to, like this:[详细]
2023-03-29 13:55 分类:问答Dispatching to the UI thread still required when using MVVM Light?
I\'m hoping this isn\'t too dumb a question: I just started using MVVM light (love it so far! ).In the \"before time开发者_JAVA百科\" (ie before the use of MVVML), I had to ui dispatch any code that w[详细]
2023-03-28 16:02 分类:问答Use MVVM Light View Model Locator with Child Window in Silverlight 4
I want to use the View 开发者_运维知识库Model Locator in a Child Window. Problem is this don\'t work:[详细]
2023-03-28 11:48 分类:问答Any reason not to keep ViewModels in a separate, xaml-not-allowed assembly?
Just wondering if I am shooting myself in the foot if I put all my ViewModels into a separate assembly from the xaml of my silverlight application?Do I lose any blendability?[详细]
2023-03-28 09:44 分类:问答mvvmlight - what's the "proper way" of picking up url parameters for a view model
I\'m just switching a project across to mvvmlight and trying to do things \"the right way\" I\'ve got a simple app with a listbox[详细]
2023-03-28 05:41 分类:问答