# C1.WPF.ExpressionEditor.CommandHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ExpressionEditor_CommandHandler" data-uid="C1.WPF.ExpressionEditor.CommandHandler" class="text-break">CommandHandler Class
</h1>
  <div class="markdown level0 summary"><p>The command handler in expression panel.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CommandHandler</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand">ICommand</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.ExpressionEditor.html">C1.WPF.ExpressionEditor</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ExpressionEditor.4.6.2.dll</h6>
  <h5 id="C1_WPF_ExpressionEditor_CommandHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CommandHandler : ICommand</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CommandHandler
    Implements ICommand</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_CommandHandler__ctor_System_Action_System_Object__System_Boolean_" data-uid="C1.WPF.ExpressionEditor.CommandHandler.#ctor(System.Action{System.Object},System.Boolean)">
          <a class="xref" href="C1.WPF.ExpressionEditor.CommandHandler.-ctor.html#C1_WPF_ExpressionEditor_CommandHandler__ctor_System_Action_System_Object__System_Boolean_">CommandHandler(Action&lt;object&gt;, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.ExpressionEditor.CommandHandler.html">CommandHandler</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_CommandHandler_CanExecute_System_Object_" data-uid="C1.WPF.ExpressionEditor.CommandHandler.CanExecute(System.Object)">
          <a class="xref" href="C1.WPF.ExpressionEditor.CommandHandler.CanExecute.html#C1_WPF_ExpressionEditor_CommandHandler_CanExecute_System_Object_">CanExecute(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Can execute command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_CommandHandler_Execute_System_Object_" data-uid="C1.WPF.ExpressionEditor.CommandHandler.Execute(System.Object)">
          <a class="xref" href="C1.WPF.ExpressionEditor.CommandHandler.Execute.html#C1_WPF_ExpressionEditor_CommandHandler_Execute_System_Object_">Execute(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Execute command.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_CommandHandler_CanExecuteChanged" data-uid="C1.WPF.ExpressionEditor.CommandHandler.CanExecuteChanged">
          <a class="xref" href="C1.WPF.ExpressionEditor.CommandHandler.CanExecuteChanged.html">CanExecuteChanged</a>
        </td>
        <td class="markdown level1 summary"><p>The event of can execute changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
