title: WPF binding window title to a checkbox state
body: <p>I have a checkbox which looks something like this (have removed many things to make it short) -</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;CheckBox IsChecked=&quot;{Binding functionABC, Mode=TwoWay}&quot;&gt;
     &lt;i:Interaction.Triggers&gt;
        &lt;i:EventTrigger EventName=&quot;Checked&quot;&gt;
           &lt;i:InvokeCommandAction Command=&quot;{Binding Path=XYZ}&quot;/&gt;
        &lt;/i:EventTrigger&gt;
  
        &lt;i:EventTrigger EventName=&quot;Unchecked&quot;&gt;
          &lt;i:InvokeCommandAction Command=&quot;{Binding Path=XYZ}&quot;/&gt;
        &lt;/i:EventTrigger&gt;
     &lt;/i:Interaction.Triggers&gt;
  &lt;/CheckBox&gt;
  </code></pre>
  <p>Now, I have to map the window title of app to 2 different values depending on checked or unchecked. I could have done it normally, but there is a trigger set already for both states, and I don't know how to work around it.</p>