# FarPoint.Win.Spread.RegularExpressionValidator.RegexOptions

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_RegularExpressionValidator_RegexOptions_" data-uid="FarPoint.Win.Spread.RegularExpressionValidator.RegexOptions*">RegexOptions Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_RegularExpressionValidator_RegexOptions_" data-uid="FarPoint.Win.Spread.RegularExpressionValidator.RegexOptions*"></a>
<h4 id="FarPoint_Win_Spread_RegularExpressionValidator_RegexOptions" data-uid="FarPoint.Win.Spread.RegularExpressionValidator.RegexOptions">RegexOptions</h4>
<div class="markdown level1 summary"><p>Gets or sets the regular expression options.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RegexOptions RegexOptions { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RegexOptions As RegexOptions</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions">RegexOptions</a></td>
      <td><p>A bitwise combination of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions">RegexOptions</a>. The default is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions#system-text-regularexpressions-regexoptions-none">None</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_RegularExpressionValidator_RegexOptions_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Enumeration combinations are validated when setting this property.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The assigned value is not a valid <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions">RegexOptions</a> value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>The assigned value is a conjunction with invalid enumeration values.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_RegularExpressionValidator_RegexOptions_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="FarPoint.Win.Spread.RegularExpressionValidator.Expression.html#FarPoint_Win_Spread_RegularExpressionValidator_Expression">Expression</a></div>
</div>
</div>
