# C1.Win.Command.ClickEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_ClickEventArgs__ctor_" data-uid="C1.Win.Command.ClickEventArgs.#ctor*">ClickEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_ClickEventArgs__ctor_" data-uid="C1.Win.Command.ClickEventArgs.#ctor*"></a>
<h4 id="C1_Win_Command_ClickEventArgs__ctor_C1_Win_Command_ClickSourceEnum_C1_Win_Command_C1CommandLink_C1_Win_Command_ContextInfo_" data-uid="C1.Win.Command.ClickEventArgs.#ctor(C1.Win.Command.ClickSourceEnum,C1.Win.Command.C1CommandLink,C1.Win.Command.ContextInfo)">ClickEventArgs(ClickSourceEnum, C1CommandLink, ContextInfo)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ClickEventArgs class</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClickEventArgs(ClickSourceEnum clickSource, C1CommandLink callerLink, ContextInfo contextInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(clickSource As ClickSourceEnum, callerLink As C1CommandLink, contextInfo As ContextInfo)</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="C1.Win.Command.ClickSourceEnum.html">ClickSourceEnum</a></td>
      <td><span class="parametername">clickSource</span></td>
      <td><p>Determines whether the click event was caused by a menu selection, shortcut key, or other means.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Command.C1CommandLink.html">C1CommandLink</a></td>
      <td><span class="parametername">callerLink</span></td>
      <td><p>Gets the command link which caused the click event to occur.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Command.ContextInfo.html">ContextInfo</a></td>
      <td><span class="parametername">contextInfo</span></td>
      <td><p>Gets the context info for clicks which originated in a context menu.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
