canexecute Questions

1

Solved

We have a lot CanExecute tests for a various commands in our project. All tests passed properly when we use Visual Studio testing or AxoCover. We tried to add some previous object initialization, ...
Krupp asked 4/6, 2019 at 12:31

3

Solved

Can I use CanExecuteChanged to change the "can execute" condition? Or else... "for what" its used?
Deutoplasm asked 25/12, 2010 at 19:24

4

Solved

I'm implementing an RelayCommand with an execute and an canExecute part. The RelayCommand works when it is without the canExecute part, however when I add the canExecute part, the command locks the...
Bondage asked 14/10, 2013 at 16:1

1

Solved

How does one use the CanExecute Method from the ICommand interface? In my example i have a SaveCommand which i only what to be enable when the object is saveable. The XAML Code of my Savebutton ...
Stowers asked 2/5, 2015 at 12:28

0

I upgraded my eclipse RCP application from Juno to Luna. This caused my application toolbar to be permenantly disabled. I found a solution in this thread: Eclipse Luna: Handlers' @CanExecute m...
Immersionism asked 2/9, 2014 at 8:21

1

Solved

I'm having a problem with command handlers in Eclipse Luna RCP. In my E4 application model, I defined some commands and related handlers that must be enabled only under certain circumstances. For ...
Impromptu asked 25/6, 2014 at 16:16

2

Solved

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. D...
Haematothermal asked 3/5, 2011 at 13:33

3

Solved

I have a button control in my wpf-mvvm application. I use an ICommand property (defined in viewmodel) to bind the button click event to viewmodel. I have -> execute and canexecute parameters for ...
Writer asked 26/12, 2010 at 6:10
1

© 2022 - 2024 — McMap. All rights reserved.