I think this would do it - <Button IsEnabled={Binding 
WhateverBooleanProperty}”/> as long as the DataContext is set on the Button or 
any of its descendants.

 

But what is the DataContext? The parent Window? I have to set the Source or 
RelativeSource to something, the Window with the bool property? What’s the 
syntax for that?

 

Damn binding syntax.

 

Greg

_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to