# FarPoint.Win.Spread.NamedStyleCollectionEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs" class="text-break">NamedStyleCollectionEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Represents the event data for the NamedStyleCollection object's Changed event.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">NamedStyleCollectionEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NamedStyleCollectionEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NamedStyleCollectionEventArgs
    Inherits EventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td 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)">
          <a class="xref" href="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.-ctor.html#FarPoint_Win_Spread_NamedStyleCollectionEventArgs__ctor_FarPoint_Win_Spread_NamedStyleCollectionEventType_FarPoint_Win_Spread_NamedStyle_FarPoint_Win_Spread_NamedStyle_">NamedStyleCollectionEventArgs(NamedStyleCollectionEventType, NamedStyle, NamedStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new NamedStyleCollectionEventArgs object with the specified type and styles.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs_NewStyle" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.NewStyle">
          <a class="xref" href="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.NewStyle.html#FarPoint_Win_Spread_NamedStyleCollectionEventArgs_NewStyle">NewStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the new style that was added, or null if no style was added.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs_OldStyle" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.OldStyle">
          <a class="xref" href="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.OldStyle.html#FarPoint_Win_Spread_NamedStyleCollectionEventArgs_OldStyle">OldStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the old style that was removed or changed,
or null if no style was removed or changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NamedStyleCollectionEventArgs_Type" data-uid="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.Type">
          <a class="xref" href="FarPoint.Win.Spread.NamedStyleCollectionEventArgs.Type.html#FarPoint_Win_Spread_NamedStyleCollectionEventArgs_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of event that occurred.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
