# FarPoint.Win.Spread.SearchDialog.SetCustomText

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SearchDialog_SetCustomText_" data-uid="FarPoint.Win.Spread.SearchDialog.SetCustomText*">SetCustomText Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SearchDialog_SetCustomText_" data-uid="FarPoint.Win.Spread.SearchDialog.SetCustomText*"></a>
<h4 id="FarPoint_Win_Spread_SearchDialog_SetCustomText_System_String_System_String_System_String_System_String_System_String_System_String_System_String_System_String_System_String_System_String_" data-uid="FarPoint.Win.Spread.SearchDialog.SetCustomText(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)">SetCustomText(string, string, string, string, string, string, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Sets the custom text in the form to specified values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void SetCustomText(string findTextLabel, string matchCaseLabel, string exactMatchLabel, string alternateSearchLabel, string useWildcardsLabel, string findText, string findNextText, string closeText, string notFoundText, string repeatSearchText)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub SetCustomText(findTextLabel As String, matchCaseLabel As String, exactMatchLabel As String, alternateSearchLabel As String, useWildcardsLabel As String, findText As String, findNextText As String, closeText As String, notFoundText As String, repeatSearchText As String)</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.string">string</a></td>
      <td><span class="parametername">findTextLabel</span></td>
      <td><p>Text string to match</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">matchCaseLabel</span></td>
      <td><p>Case to match string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">exactMatchLabel</span></td>
      <td><p>Exact match string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">alternateSearchLabel</span></td>
      <td><p>Alternate search string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">useWildcardsLabel</span></td>
      <td><p>Wildcard usage string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">findText</span></td>
      <td><p>Find text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">findNextText</span></td>
      <td><p>Find next text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">closeText</span></td>
      <td><p>Close text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">notFoundText</span></td>
      <td><p>Text not found string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">repeatSearchText</span></td>
      <td><p>Prompt to repeat search from beginning string</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SearchDialog_SetCustomText_" data-uid="FarPoint.Win.Spread.SearchDialog.SetCustomText*"></a>
<h4 id="FarPoint_Win_Spread_SearchDialog_SetCustomText_System_String_System_String_System_String_System_String_System_String_System_String_System_String_System_String_System_String_" data-uid="FarPoint.Win.Spread.SearchDialog.SetCustomText(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)">SetCustomText(string, string, string, string, string, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Sets the custom text in the form to specified values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void SetCustomText(string findTextLabel, string matchCaseLabel, string exactMatchLabel, string alternateSearchLabel, string useWildcardsLabel, string findText, string findNextText, string closeText, string notFoundText)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub SetCustomText(findTextLabel As String, matchCaseLabel As String, exactMatchLabel As String, alternateSearchLabel As String, useWildcardsLabel As String, findText As String, findNextText As String, closeText As String, notFoundText As String)</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.string">string</a></td>
      <td><span class="parametername">findTextLabel</span></td>
      <td><p>Text string to match</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">matchCaseLabel</span></td>
      <td><p>Case to match string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">exactMatchLabel</span></td>
      <td><p>Exact match string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">alternateSearchLabel</span></td>
      <td><p>Alternate search string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">useWildcardsLabel</span></td>
      <td><p>Wildcard usage string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">findText</span></td>
      <td><p>Find text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">findNextText</span></td>
      <td><p>Find next text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">closeText</span></td>
      <td><p>Close text string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">notFoundText</span></td>
      <td><p>Text not found string</p>
</td>
    </tr>
  </tbody>
</table>
</div>
