canexecute
Why is my ContextMenu item bound to a RelayCommand is always disabled?
I\'m working on my first big WPF MVVM application now, which uses MVVM Light Toolkit in combination with Josh Smith\'s RelayCommand.[详细]
2023-03-29 11:03 分类:问答Cache CanExecute (or anything) in WPF?
The Cache object in System.Web is pretty freaking nice. I handle my CommandBinding.CanExecute sort of like this:[详细]
2023-03-25 04:05 分类:问答How to unit test CanExecuteChanged and RaisePropertyChanged
I am trying to practice strict TDD and have run into issue related to DelegateCommands and testing that CanExecute has been called.[详细]
2023-03-21 17:51 分类:问答WPF MVVM CanExecute method implementation problem
I am trying to implement a WPF MVVM application. And I am a beginner in this platform. All I need is to implement a CanExecute method for my SaveCommand[详细]
2023-03-18 18:25 分类:问答Command CanExecute handlers conflicting with my threaded tasks
I\'ve started introducing some parallel programming into my WPF app to speed up the more intensive, repetitive tasks. It\'s going well, in that I\'m seeing noticeable differences in execution time and[详细]
2023-03-07 03:40 分类:问答CanExecute and CanExecuteChanged, I must implement these with a RelayCommand?
I am using MVVM-Light and i have my relay command working perfectly, I have just read that i should be implementing CanExecuteChanged and CanExecute. Although i am unable to find a good example.[详细]
2023-03-03 01:34 分类:问答MVVM property with a linked complex class and CanExecute Relay Command not working
I have a entity class in a C# library class and linked to Silverlight class library (entities must be in C# class because of legacy compatiblity with other systems)[详细]
2023-01-26 16:55 分类:问答Command Binding issues in AvalonDock
I have created an application where there\'s a series of command bindings attached to the MainWindow of my application:[详细]
2023-01-24 05:17 分类:问答Can I suppress the "CanExecute" call within the MVVM pattern
I am working with a tree structure using WPF and the MVVM pattern. I start out by creating 20 root nodes and lazy loadin开发者_运维百科g the child nodes as each node is clicked. So for instance ... if[详细]
2023-01-11 19:25 分类:问答