[]
        
(Showing Draft Content)

FarPoint.Web.Spread.BaseCellType

BaseCellType Class

Represents the cell type class that serves as a basis for other cell type classes.

Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public abstract class BaseCellType : ICellType, IFormatter, ICloneable, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor
Public MustInherit Class BaseCellType
    Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor

Constructors

Name Description
BaseCellType()

Properties

Name Description
EditorClientScriptUrl

Gets the URL of the client script file for the editor, if the editor supports client-side scripting.

ExtraRendererSettings

Gets the conditional formatting settings.

RendererClientScriptUrl

Gets the URL of the client script file for the renderer, if the renderer supports client-side scripting.

Validators

Gets the validator collection.

Methods

Name Description
AppendEllipsis(RectangleF, Appearance, string, float)

Appends the ellipsis.

ApplyStyleTo(TableCell, Appearance, Inset, bool)

Applies the appearance and the margin to the cell.

Clone()

Creates a new copy of the object using the MemberwiseClone method.

DrawBackgroundImage(PdfGraphics, RectangleF, Appearance, bool)

Draws the background image to PDF.

Format(object)

When deriving a cell type based on this type, override this
to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.

FormatForPdf(object)

Returns the format of a value for PDF.

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

Gets the control used to edit the cell.

GetEditorValue(Control, string)

Gets the value from the editing control used for the cell.

GetImage(string, FpSpread)

Gets an Image object using an image path.

GetPreferredSize(Graphics, Size, Appearance, object, float, bool, bool)

Gets the preferred (maximum needed) size of the cell for the renderer control.

GetStringSize(string, Size, float, Appearance)

Gets the size of the text string.

GetSymbolSize(float)

Gets the size of the symbol.

GetValidators()

Gets the validator collection, overwrites this method to allow customizing the returned result from the Validators property.

PDFHtmlDecode(string)

Return HTML Decode result text that also take care some invalid character that has code out of support range

PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)

Gets a control and prints the cell to PDF based on the specified appearance and selection.

PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets a control and renders it in the cell based on the specified appearance, margin, and value.

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.

ProcessMargin(RectangleF, Inset)

Processes the margin.

ProcessMargin(RectangleF, Inset, float)

Processes the margin.

RendererClientScriptUrl2(FpSpread)

Gets the URL of the client script file for the renderer for the specified Spread component, if the renderer supports client-side scripting.

SetTabIndex(WebControl, string)

Sets the tab index for the editor.

ToString()

Gets the name of the cell type.

ValidateEditorValue(object)

Validates the given value.