我注意到以下代码:
<Button Content="_Timbres..."
Command="{Binding Path=ShowTimbresCommand}"
IsEnabled="{Binding Path=CanExecuteShowTimbresCommand}"/>
Run Code Online (Sandbox Code Playgroud)
表现同样如下:
<Button Content="_Timbres..."
Command="{Binding Path=ShowTimbresCommand}">
Run Code Online (Sandbox Code Playgroud)
这意味着CanExecuteShowTimbresCommand自动绑定到IsEnabled属性.这是真的吗?为什么?