View Issue Details

IDProjectCategoryView StatusLast Update
0000769NoesisGUIUnitypublic2018-11-23 02:17
ReporterScherub Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Target Version2.2.0Fixed in Version2.2.0b1 
Summary0000769: ICommand.CanExecute returning false doesn't disable the button
Description

As the summary already says. When binding a command to a button the button doesn't get disabled when the CanExecute returns false.

PlatformAny

Activities

sfernandez

sfernandez

2015-11-23 10:49

manager   ~0003286

Yes, this is a known issue. The CanExecuteChanged event is not monitored and IsEnabled is not updated by Buttons or MenuItems.

If it is an important feature for you we can try to include in a near release.

Scherub

Scherub

2015-11-23 14:28

reporter   ~0003289

Nope, it's not that important. I have already known about this for a long time and my workaround was to just bind the IsEnabled property to the appropriate property.

I primarily entered it here because it just occured to me when I was already submitting another issue.

Issue History

Date Modified Username Field Change
2015-11-22 19:23 Scherub New Issue
2015-11-23 10:49 sfernandez Note Added: 0003286
2015-11-23 10:49 sfernandez Assigned To => sfernandez
2015-11-23 10:49 sfernandez Status new => confirmed
2015-11-23 14:28 Scherub Note Added: 0003289
2018-11-01 02:14 jsantos View Status public => private
2018-11-21 14:02 jsantos View Status private => public
2018-11-21 14:02 jsantos Platform => Any
2018-11-21 14:02 jsantos Target Version => 2.2.0
2018-11-21 16:52 sfernandez Status confirmed => assigned
2018-11-23 02:17 sfernandez Status assigned => resolved
2018-11-23 02:17 sfernandez Resolution open => fixed
2018-11-23 02:17 sfernandez Fixed in Version => 2.2.0b1
2025-10-10 13:29 jsantos Category Unity3D => Unity