# FarPoint.Web.Spread.SpreadCommandEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_SpreadCommandEventArgs__ctor_" data-uid="FarPoint.Web.Spread.SpreadCommandEventArgs.#ctor*">SpreadCommandEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_SpreadCommandEventArgs__ctor_" data-uid="FarPoint.Web.Spread.SpreadCommandEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_SpreadCommandEventArgs__ctor_FarPoint_Web_Spread_SheetView_System_String_System_Object_" data-uid="FarPoint.Web.Spread.SpreadCommandEventArgs.#ctor(FarPoint.Web.Spread.SheetView,System.String,System.Object)">SpreadCommandEventArgs(SheetView, string, object)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the SpreadCommand event arguments with the specified sheet, command, and argument.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadCommandEventArgs(SheetView sheetView, string commandName, object argument)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, commandName As String, argument As Object)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">commandName</span></td>
      <td><p>Command name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">argument</span></td>
      <td><p>Argument for the command</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_SpreadCommandEventArgs__ctor_" data-uid="FarPoint.Web.Spread.SpreadCommandEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_SpreadCommandEventArgs__ctor_FarPoint_Web_Spread_SheetView_System_String_System_Object_System_Collections_ArrayList_" data-uid="FarPoint.Web.Spread.SpreadCommandEventArgs.#ctor(FarPoint.Web.Spread.SheetView,System.String,System.Object,System.Collections.ArrayList)">SpreadCommandEventArgs(SheetView, string, object, ArrayList)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the SpreadCommand event arguments with the specified sheet, command, argument,
and edit values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadCommandEventArgs(SheetView sheetView, string commandName, object argument, ArrayList editValues)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, commandName As String, argument As Object, editValues As ArrayList)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">commandName</span></td>
      <td><p>Command name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">argument</span></td>
      <td><p>Argument for the command</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.arraylist">ArrayList</a></td>
      <td><span class="parametername">editValues</span></td>
      <td><p>Array of edit values</p>
</td>
    </tr>
  </tbody>
</table>
</div>
