# FarPoint.Win.Spread.ValueProcess.DoActionReason

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ValueProcess_DoActionReason_" data-uid="FarPoint.Win.Spread.ValueProcess.DoActionReason*">DoActionReason Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ValueProcess_DoActionReason_" data-uid="FarPoint.Win.Spread.ValueProcess.DoActionReason*"></a>
<h4 id="FarPoint_Win_Spread_ValueProcess_DoActionReason" data-uid="FarPoint.Win.Spread.ValueProcess.DoActionReason">DoActionReason</h4>
<div class="markdown level1 summary"><p>Gets or sets the reasons which can cause a <a class="xref" href="FarPoint.Win.Spread.ValidateActionBase.html">ValidateActionBase</a> to execute.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ValidateReasons DoActionReason { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property DoActionReason As ValidateReasons</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="FarPoint.Win.Spread.ValidateReasons.html">ValidateReasons</a></td>
      <td><p>A bitwise combination of the <a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html">ValidateReasons</a>.
The default is <a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html#FarPoint_Win_Spread_ValidateReasons_CellValidating">CellValidating</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<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="FarPoint.Win.Spread.ValidateReasons.html">ValidateReasons</a> value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
      <td><p>The assigned value is not <a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html#FarPoint_Win_Spread_ValidateReasons_CellValidating">CellValidating</a>,
<a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html#FarPoint_Win_Spread_ValidateReasons_EndEdit">EndEdit</a>,
or <a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html#FarPoint_Win_Spread_ValidateReasons_CellValidating">CellValidating</a> |<a class="xref" href="FarPoint.Win.Spread.ValidateReasons.html#FarPoint_Win_Spread_ValidateReasons_EndEdit">EndEdit</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
