I noticed that the following code:
<Button Content="_Timbres..."
Command="{Binding Path=ShowTimbresCommand}"
IsEnabled="{Binding Path=CanExecuteShowTimbresCommand}"/>
behaves the same as:
<Button Content="_Timbres..."
Command="{Binding Path=ShowTimbresCommand}">
The value that CanExecuteShowTimbresCommand is automatically bound to the IsEnabled property. Is this true and why?
source
share