# GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem.OnUpdate

## Content

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



<h1 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_OnUpdate_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem.OnUpdate*">OnUpdate Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_OnUpdate_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem.OnUpdate*"></a>
<h4 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_OnUpdate" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem.OnUpdate">OnUpdate</h4>
<div class="markdown level1 summary"><p>Gets or sets the function that is called to update the state of the toolbar item.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[JsonIgnore]
public Action OnUpdate { get; set; }</code></pre>
</div>
<h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_OnUpdate_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <code>OnUpdate</code> property allows you to specify a function that updates the state of the toolbar item, typically used for dynamic state changes.</p>
</div>
</div>
