# C1.WPF.C1DelegateCommand.CanExecuteChanged

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_C1DelegateCommand_CanExecuteChanged" data-uid="C1.WPF.C1DelegateCommand.CanExecuteChanged" class="text-break">CanExecuteChanged Event
</h1>
<div class="markdown level0 summary"><p>Occurs when changes occur that affect whether or not the command should execute.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="implements">
  <h5>Implements</h5>
  <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand.canexecutechanged">CanExecuteChanged</a></div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
<h5 id="C1_WPF_C1DelegateCommand_CanExecuteChanged_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler CanExecuteChanged</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event CanExecuteChanged As EventHandler</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler">EventHandler</a></td>
      <td>Occurs when changes occur that affect whether or not the command should execute.</td>
    </tr>
  </tbody>
</table>
</div>
