# GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector`1" class="text-break">StyleSelector&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector-1.html">StyleSelector&lt;T&gt;</a> class.</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"><span class="xref">StyleSelector&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarDayButtonStyleSelector.html">CalendarDayButtonStyleSelector</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.WeekTitleStyleSelector.html">WeekTitleStyleSelector</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class StyleSelector&lt;T&gt; where T : FrameworkElement</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class StyleSelector(Of T As FrameworkElement)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the object which set the style selector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector`1.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector-1.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1__ctor">StyleSelector()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1_SelectStyle__0_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector`1.SelectStyle(`0)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.StyleSelector-1.SelectStyle.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_StyleSelector_1_SelectStyle__0_">SelectStyle(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects a style.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
