title: How to access commandbindings in c# WPF application?
body: <p>I'm using C# WPF application to display crystal reports and i want to call a function when crystal report viewer refresh button is clicked.</p>
  
  <p>so in viewer properties i set command binding to refresh and application XAML looks like below</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;cr:CrystalReportsViewer Name="reportViewer"&gt;
          &lt;cr:CrystalReportsViewer.CommandBindings&gt;
              &lt;CommandBinding Command="NavigationCommands.Refresh"/&gt;
          &lt;/cr:CrystalReportsViewer.CommandBindings&gt;
      &lt;/cr:CrystalReportsViewer&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>any idea how to capture this refresh event and call the command handler?</p>
  
  <p>Regards</p>