# GrapeCity.ActiveReports.Blazor.Designer.Handlers.OnBeforeCreate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Blazor_Designer_Handlers_OnBeforeCreate_" data-uid="GrapeCity.ActiveReports.Blazor.Designer.Handlers.OnBeforeCreate*">OnBeforeCreate Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Blazor_Designer_Handlers_OnBeforeCreate_" data-uid="GrapeCity.ActiveReports.Blazor.Designer.Handlers.OnBeforeCreate*"></a>
<h4 id="GrapeCity_ActiveReports_Blazor_Designer_Handlers_OnBeforeCreate" data-uid="GrapeCity.ActiveReports.Blazor.Designer.Handlers.OnBeforeCreate">OnBeforeCreate</h4>
<div class="markdown level1 summary"><p>Gets or sets a handler that cancels the creation process if it returns false.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Func&lt;bool&gt; OnBeforeCreate { get; set; }</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.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
      <td><p>A function that returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
