# GrapeCity.Viewer.Common.NullDelegateCommand

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Viewer_Common_NullDelegateCommand" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand" class="text-break">NullDelegateCommand Class
</h1>
  <div class="markdown level0 summary"><p>NullDelegateCommand implementation that represents a command that does nothing and is always disabled.</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">NullDelegateCommand</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Viewer.Common.ICommand.html">ICommand</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Viewer.Common.html">GrapeCity.Viewer.Common</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Common.dll</h6>
  <h5 id="GrapeCity_Viewer_Common_NullDelegateCommand_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class NullDelegateCommand : 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="GrapeCity_Viewer_Common_NullDelegateCommand__ctor" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand.#ctor">
          <a class="xref" href="GrapeCity.Viewer.Common.NullDelegateCommand.-ctor.html#GrapeCity_Viewer_Common_NullDelegateCommand__ctor">NullDelegateCommand()</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_Viewer_Common_NullDelegateCommand_CanExecute_System_Object_" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand.CanExecute(System.Object)">
          <a class="xref" href="GrapeCity.Viewer.Common.NullDelegateCommand.CanExecute.html#GrapeCity_Viewer_Common_NullDelegateCommand_CanExecute_System_Object_">CanExecute(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the method that determines whether the command can execute in its current state.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_NullDelegateCommand_Execute_System_Object_" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand.Execute(System.Object)">
          <a class="xref" href="GrapeCity.Viewer.Common.NullDelegateCommand.Execute.html#GrapeCity_Viewer_Common_NullDelegateCommand_Execute_System_Object_">Execute(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the method to be called when the command is invoked.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_NullDelegateCommand_RaiseCanExecuteChanged" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand.RaiseCanExecuteChanged">
          <a class="xref" href="GrapeCity.Viewer.Common.NullDelegateCommand.RaiseCanExecuteChanged.html#GrapeCity_Viewer_Common_NullDelegateCommand_RaiseCanExecuteChanged">RaiseCanExecuteChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Provides an empty implementation to satisfy the IDelegateCommand interface. It does not raise the CanExecuteChanged event.</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="GrapeCity_Viewer_Common_NullDelegateCommand_CanExecuteChanged" data-uid="GrapeCity.Viewer.Common.NullDelegateCommand.CanExecuteChanged">
          <a class="xref" href="GrapeCity.Viewer.Common.NullDelegateCommand.CanExecuteChanged.html">CanExecuteChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when changes occur that affect whether the command should execute.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
