# FarPoint.Win.Spread.FpSpread.SetCursor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_FpSpread_SetCursor_" data-uid="FarPoint.Win.Spread.FpSpread.SetCursor*">SetCursor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_FpSpread_SetCursor_" data-uid="FarPoint.Win.Spread.FpSpread.SetCursor*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SetCursor_FarPoint_Win_Spread_CursorType_System_Windows_Forms_Cursor_" data-uid="FarPoint.Win.Spread.FpSpread.SetCursor(FarPoint.Win.Spread.CursorType,System.Windows.Forms.Cursor)">SetCursor(CursorType, Cursor)</h4>
<div class="markdown level1 summary"><p>Sets the pointer displayed over different areas of the component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetCursor(CursorType index, Cursor cursor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetCursor(index As CursorType, cursor As Cursor)</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.Win.Spread.CursorType.html">CursorType</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>Pointer type index (for a specific part of the component)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.cursor">Cursor</a></td>
      <td><span class="parametername">cursor</span></td>
      <td><p>Image used to paint the pointer</p>
</td>
    </tr>
  </tbody>
</table>
</div>
