# FarPoint.Web.Spread.Extender.RatingCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Extender_RatingCellType" data-uid="FarPoint.Web.Spread.Extender.RatingCellType" class="text-break">RatingCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents an ASP.NET AJAX extender rating cell.</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="../FarPoint.Web.Spread/FarPoint.Web.Spread.BaseCellType.html">BaseCellType</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Web.Spread.Extender.AjaxCellTypeBase-1.html">AjaxCellTypeBase</a>&lt;<span class="xref">ExtenderControlBase</span>&gt;</div>
    <div class="level3"><a class="xref" href="FarPoint.Web.Spread.Extender.ExtenderCellTypeBase.html">ExtenderCellTypeBase</a></div>
    <div class="level4"><span class="xref">RatingCellType</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Renderer.IFormatter.html">IFormatter</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.IEnhancedPdfRenderer.html">IEnhancedPdfRenderer</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.IPdfSupport.html">IPdfSupport</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Editor.IEditor3.html">IEditor3</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Editor.IEditor.html">IEditor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Renderer.ICSSClassSupport.html">ICSSClassSupport</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Renderer.IRenderer2.html">IRenderer2</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.IEnhancedRenderer.html">IEnhancedRenderer</a></div>
    <div><a class="xref" href="../FarPoint.Web.Spread/FarPoint.Web.Spread.Renderer.IRenderer.html">IRenderer</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.Extender.html">FarPoint.Web.Spread.Extender</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.Extender.dll</h6>
  <h5 id="FarPoint_Web_Spread_Extender_RatingCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RatingCellType : ExtenderCellTypeBase, ICellType, IFormatter, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICloneable, ISerializeSupport, ICSSClassSupport, IRenderer2, IEnhancedRenderer, IRenderer, IDeserializationCallback</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RatingCellType
    Inherits ExtenderCellTypeBase
    Implements ICellType, IFormatter, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICloneable, ISerializeSupport, ICSSClassSupport, IRenderer2, IEnhancedRenderer, IRenderer, IDeserializationCallback</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_Web_Spread_Extender_RatingCellType__ctor" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.-ctor.html#FarPoint_Web_Spread_Extender_RatingCellType__ctor">RatingCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new ASP.NET AJAX extender rating cell.</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_Web_Spread_Extender_RatingCellType_CurrentRating" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.CurrentRating">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.CurrentRating.html#FarPoint_Web_Spread_Extender_RatingCellType_CurrentRating">CurrentRating</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current rating.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_Editor" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.Editor">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.Editor.html#FarPoint_Web_Spread_Extender_RatingCellType_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the editor (editing control) for the rating.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_EmptyStarCssClass" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.EmptyStarCssClass">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.EmptyStarCssClass.html#FarPoint_Web_Spread_Extender_RatingCellType_EmptyStarCssClass">EmptyStarCssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the CSS class that defines the style of the empty rating star.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_FilledStarCssClass" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.FilledStarCssClass">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.FilledStarCssClass.html#FarPoint_Web_Spread_Extender_RatingCellType_FilledStarCssClass">FilledStarCssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the CSS class that defines the style of the filled rating star.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_MaxRating" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.MaxRating">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.MaxRating.html#FarPoint_Web_Spread_Extender_RatingCellType_MaxRating">MaxRating</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum rating.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_RatingAlign" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.RatingAlign">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.RatingAlign.html#FarPoint_Web_Spread_Extender_RatingCellType_RatingAlign">RatingAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation of the rating stars.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_RatingDirection" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.RatingDirection">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.RatingDirection.html#FarPoint_Web_Spread_Extender_RatingCellType_RatingDirection">RatingDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of the rating stars.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_ReadOnly" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.ReadOnly">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.ReadOnly.html#FarPoint_Web_Spread_Extender_RatingCellType_ReadOnly">ReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the value is read-only (cannot be changed).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_StarCssClass" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.StarCssClass">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.StarCssClass.html#FarPoint_Web_Spread_Extender_RatingCellType_StarCssClass">StarCssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the CSS class that defines the style of the default rating star.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_Tag" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.Tag">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.Tag.html#FarPoint_Web_Spread_Extender_RatingCellType_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tag.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_WaitingStarCssClass" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.WaitingStarCssClass">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.WaitingStarCssClass.html#FarPoint_Web_Spread_Extender_RatingCellType_WaitingStarCssClass">WaitingStarCssClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the CSS class that defines the style of the waiting rating star.</p>
</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="FarPoint_Web_Spread_Extender_RatingCellType_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.GetEditorControl(System.String,System.Web.UI.WebControls.TableCell,FarPoint.Web.Spread.Appearance,FarPoint.Web.Spread.Inset,System.Object,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.GetEditorControl.html#FarPoint_Web_Spread_Extender_RatingCellType_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_">GetEditorControl(string, TableCell, Appearance, Inset, object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control used to edit the cell for the rating.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_GetEditorValue_System_Web_UI_Control_System_String_" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.GetEditorValue(System.Web.UI.Control,System.String)">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.GetEditorValue.html#FarPoint_Web_Spread_Extender_RatingCellType_GetEditorValue_System_Web_UI_Control_System_String_">GetEditorValue(Control, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value from the editing control for the rating.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_Parse_System_String_" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.Parse(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.Parse.html#FarPoint_Web_Spread_Extender_RatingCellType_Parse_System_String_">Parse(string)</a>
        </td>
        <td class="markdown level1 summary"><p>When deriving a cell type based on this type, override this
to change what gets parsed from the cell on the sheet and put in the data model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Extender_RatingCellType_ValidateEditorValue_System_Object_" data-uid="FarPoint.Web.Spread.Extender.RatingCellType.ValidateEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.Extender.RatingCellType.ValidateEditorValue.html#FarPoint_Web_Spread_Extender_RatingCellType_ValidateEditorValue_System_Object_">ValidateEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the given value of the rating.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
