# C1.Win.TreeView.C1TreeViewColumnMouseEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TreeView_C1TreeViewColumnMouseEventArgs__ctor_" data-uid="C1.Win.TreeView.C1TreeViewColumnMouseEventArgs.#ctor*">C1TreeViewColumnMouseEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TreeView_C1TreeViewColumnMouseEventArgs__ctor_" data-uid="C1.Win.TreeView.C1TreeViewColumnMouseEventArgs.#ctor*"></a>
<h4 id="C1_Win_TreeView_C1TreeViewColumnMouseEventArgs__ctor_System_Windows_Forms_MouseButtons_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Win.TreeView.C1TreeViewColumnMouseEventArgs.#ctor(System.Windows.Forms.MouseButtons,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">C1TreeViewColumnMouseEventArgs(MouseButtons, int, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.TreeView.C1TreeViewColumnMouseEventArgs.html">C1TreeViewColumnMouseEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1TreeViewColumnMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, int columnIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(button As MouseButtons, clicks As Integer, x As Integer, y As Integer, delta As Integer, columnIndex As Integer)</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.mousebuttons">MouseButtons</a></td>
      <td><span class="parametername">button</span></td>
      <td><p>One of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.mousebuttons">MouseButtons</a> values that indicate which mouse button was pressed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">clicks</span></td>
      <td><p>The number of times a mouse button was pressed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of a mouse click, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of a mouse click, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delta</span></td>
      <td><p>A signed count of the number of detents the wheel has rotated.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>The tree column index of TreeView control.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
