# GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor*">CalendarModeChangedEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor(GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode,GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode)">CalendarModeChangedEventArgs(CalendarMode, CalendarMode)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.html">CalendarModeChangedEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode newMode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(oldMode As CalendarMode, newMode As CalendarMode)</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">oldMode</span></td>
      <td><p>The previous display mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">newMode</span></td>
      <td><p>The new display mode.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_System_Object_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor(GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode,GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode,System.Object)">CalendarModeChangedEventArgs(CalendarMode, CalendarMode, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.html">CalendarModeChangedEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode newMode, object source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(oldMode As CalendarMode, newMode As CalendarMode, source As Object)</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">oldMode</span></td>
      <td><p>The previous display mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">newMode</span></td>
      <td><p>The new display mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The source.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarModeChangedEventArgs__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarMode_System_Windows_RoutedEvent_System_Object_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.#ctor(GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode,GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode,System.Windows.RoutedEvent,System.Object)">CalendarModeChangedEventArgs(CalendarMode, CalendarMode, RoutedEvent, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarModeChangedEventArgs.html">CalendarModeChangedEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode newMode, RoutedEvent routedEvent, object source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(oldMode As CalendarMode, newMode As CalendarMode, routedEvent As RoutedEvent, source As Object)</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">oldMode</span></td>
      <td><p>The previous display mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarMode.html">CalendarMode</a></td>
      <td><span class="parametername">newMode</span></td>
      <td><p>The new display mode.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.routedevent">RoutedEvent</a></td>
      <td><span class="parametername">routedEvent</span></td>
      <td><p>The routed event.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The source.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
