title: How to bind ControlTemplate Enabled property to Opacity in WPF XAML
body: <p>In WPF inside XAML how to extend a ControlTemplate as such that when applied to a button and the button gets disabled it fades to 0.5 opacity while disabled and once enabled fades back to 1.0 opacity.</p>
  
  <p>This visual effect should work also when a parent is being disabled.</p>