Is binding IsEnabled optional when binding Command?
问题 I noticed that the following code: <Button Content="_Timbres..." Command="{Binding Path=ShowTimbresCommand}" IsEnabled="{Binding Path=CanExecuteShowTimbresCommand}"/> behaves equally as: <Button Content="_Timbres..." Command="{Binding Path=ShowTimbresCommand}"> Meaning that the CanExecuteShowTimbresCommand is automatically bound to the IsEnabled property. Is that true and why? 回答1: Usually controls which accept a Command will set IsEnabled to false if the command's CanExecute is false , that