[]
        
(Showing Draft Content)

FarPoint.Web.Spread.RegExpCellType

RegExpCellType Class

Represents a regular expression cell.

Inheritance
RegExpCellType
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class RegExpCellType : GeneralCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport
Public Class RegExpCellType
    Inherits GeneralCellType
    Implements ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport

Constructors

Name Description
RegExpCellType()

Creates a new regular expression cell.

RegExpCellType(string)

Creates a new regular expression cell with the specified message to display.

Properties

Name Description
AllowWrap

Overridden to always return false.

Multiline

Gets or sets whether the cell allows multiple lines; overridden to always return false.

ValidationExpression

Gets or sets the regular expression used to validate the value in the cell.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the cell type from XML.

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.

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.

Serialize(XmlTextWriter)

Saves the cell type to XML.

ValidateEditorValue(object)

Validates the input value.