icommand
Silverlight - how to call a command based upon a property wihtin the view
I have been banging my head on this one for hours and I am hoping someone can point me in the correct direction.[详细]
2023-03-09 16:45 分类:问答Silverlight call command from button within listbox item template
I have seen this question asked a few times but I have not seen been able to find a complete answer to my scenario.[详细]
2023-03-09 15:13 分类:问答Using ICommand interface
I have a class that implements specific interface (IOrganicEnvironment<T, K>) public class Colorizator : IOrganicEnvironment<Cell<YUV>, YUV>, ICommand[详细]
2023-03-08 09:31 分类:问答MVVM: Should I check my "CanExecute" method from within my Execute methods?
I understand the use of CanExecute() and Execute(), but I\'m wondering about the following scenario: public class MyViewModel : NotificationObject[详细]
2023-03-06 00:53 分类:问答How to bind a Command to double-click on a row in DataGrid
I have developed a WPF UserControl that is intended to be used as a pick list as follows: A DataGrid bound to a CollectionView of entities (e.g. of Employees)[详细]
2023-02-28 22:25 分类:问答How to close a ChildWindow with Cancel button using MVVM Light Toolkit
I\'m new to MVVM and trying to figure out how to close a ChildWindow with the traditional Cancel button using MVVM Light Toolkit.[详细]
2023-02-24 07:22 分类:问答Why does my Command.CanExecute always return false in unit test?
My Paste command seems to work during normal execution, but in unit test the CanExecute method alway开发者_如何学运维s returns false.[详细]
2023-02-21 15:06 分类:问答Translation of C# ActionCommand:ICommand into VB.net
I found a C# class ActionCommand, that implements ICommand and bases on delegates for Execute and CanExecute. Looks perfect for me so far.[详细]
2023-02-20 13:58 分类:问答Command binding in multiwindow WPF app
My application can have multiple designer windows. Each window constitutes of several user controls which communicates dynamically with the help of RelayCommands. I created the following class as the[详细]
2023-02-19 15:40 分类:问答WPF MVVM Commands: Multiple Command Parameters
Perhaps my problem is more architectural than functional, but I am trying to bind a TextBox to a command, and in that command, i\'d like to pass multiple parameters (i.e. a custom object). Not sure ho[详细]
2023-02-18 17:05 分类:问答