With WPF how can I bind the IsEnabled property of a Button to the selected row's DataGridCheckBoxColumn value of my grid?
So every time the selected row of开发者_高级运维 my grid changes the button will be enabled/disabled depending on the value of one of it's columns.
The button would look something like this
<Button Content="Update" IsEnabled="{Binding ElementName=grid, Path=SelectedItem.SomeValue}"/>
加载中,请稍侯......
精彩评论