# FarPoint.Win.Spread.NamedStyleCollectionEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs__ctor_" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.#ctor*">NamedStyleCollectionEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs__ctor_" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs__ctor_FarPoint_Win_Spread_NamedStyleCollectionEventType_FarPoint_Win_Spread_NamedStyle_FarPoint_Win_Spread_NamedStyle_" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.#ctor(FarPoint.Win.Spread.NamedStyleCollectionEventType,FarPoint.Win.Spread.NamedStyle,FarPoint.Win.Spread.NamedStyle)">NamedStyleCollectionEventArgs(NamedStyleCollectionEventType, NamedStyle, NamedStyle)</h4>
<div class="markdown level1 summary"><p>Initializes a new NamedStyleCollectionEventArgs object with the specified type and styles.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public NamedStyleCollectionEventArgs(NamedStyleCollectionEventType type, NamedStyle oldstyle, NamedStyle newstyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(type As NamedStyleCollectionEventType, oldstyle As NamedStyle, newstyle As NamedStyle)</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="FarPoint.Win.Spread.NamedStyleCollectionEventType.html">NamedStyleCollectionEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of event to occur</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.NamedStyle.html">NamedStyle</a></td>
      <td><span class="parametername">oldstyle</span></td>
      <td><p>Old style, or null if not applicable</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.NamedStyle.html">NamedStyle</a></td>
      <td><span class="parametername">newstyle</span></td>
      <td><p>New style, or null if not applicable</p>
</td>
    </tr>
  </tbody>
</table>
</div>
