[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Extender.RatingCellType

RatingCellType Class

Represents an ASP.NET AJAX extender rating cell.

Inheritance
AjaxCellTypeBase<ExtenderControlBase>
RatingCellType
Namespace: FarPoint.Web.Spread.Extender
Assembly: FarPoint.Web.Spread.Extender.dll
Syntax
public class RatingCellType : ExtenderCellTypeBase, ICellType, IFormatter, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICloneable, ISerializeSupport, ICSSClassSupport, IRenderer2, IEnhancedRenderer, IRenderer, IDeserializationCallback
Public Class RatingCellType
    Inherits ExtenderCellTypeBase
    Implements ICellType, IFormatter, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICloneable, ISerializeSupport, ICSSClassSupport, IRenderer2, IEnhancedRenderer, IRenderer, IDeserializationCallback

Constructors

Name Description
RatingCellType()

Creates a new ASP.NET AJAX extender rating cell.

Properties

Name Description
CurrentRating

Gets or sets the current rating.

Editor

Gets or sets the editor (editing control) for the rating.

EmptyStarCssClass

Gets or sets the CSS class that defines the style of the empty rating star.

FilledStarCssClass

Gets or sets the CSS class that defines the style of the filled rating star.

MaxRating

Gets or sets the maximum rating.

RatingAlign

Gets or sets the orientation of the rating stars.

RatingDirection

Gets or sets the direction of the rating stars.

ReadOnly

Gets or sets whether the value is read-only (cannot be changed).

StarCssClass

Gets or sets the CSS class that defines the style of the default rating star.

Tag

Gets or sets the tag.

WaitingStarCssClass

Gets or sets the CSS class that defines the style of the waiting rating star.

Methods

Name Description
GetEditorControl(string, TableCell, Appearance, Inset, object, bool)

Gets the control used to edit the cell for the rating.

GetEditorValue(Control, string)

Gets the value from the editing control for the rating.

Parse(string)

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.

ValidateEditorValue(object)

Validates the given value of the rating.