# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.OnNumberChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_OnNumberChanged_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.OnNumberChanged*">OnNumberChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_OnNumberChanged_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.OnNumberChanged*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_OnNumberChanged_System_Windows_RoutedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.OnNumberChanged(System.Windows.RoutedEventArgs)">OnNumberChanged(RoutedEventArgs)</h4>
<div class="markdown level1 summary"><p>Invoked when GrapeCity.Windows.InputMan.GcDateTime.Number property is changed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnNumberChanged(RoutedEventArgs e)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnNumberChanged(e As RoutedEventArgs)</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.windows.routedeventargs">RoutedEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.routedeventargs">RoutedEventArgs</a> instance containing the event data.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_OnNumberChanged_System_Windows_RoutedEventArgs__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This mehtod is similar to current language runtime(CLR) On* method: it provides a mean
to call the event handler to handle <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.NumberChangedEvent.html">NumberChangedEvent</a> routed event.</p>
</div>
</div>
