[]
        
(Showing Draft Content)

FarPoint.Web.Spread.TextCellType

TextCellType Class

Represents a text cell.

Inheritance
TextCellType
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class TextCellType : BaseCellType, ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IRenderer2, IEditorCSSClassSupport, ISerializeSupport2, ISerializeSupport, IExpandoSupport, IWrapableRenderer, IRenderer, IAcceptServerValidator
Public Class TextCellType
    Inherits BaseCellType
    Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IRenderer2, IEditorCSSClassSupport, ISerializeSupport2, ISerializeSupport, IExpandoSupport, IWrapableRenderer, IRenderer, IAcceptServerValidator

Constructors

Name Description
TextCellType()

Creates a new text cell.

Properties

Name Description
AllowServerValidators

Gets or sets whether the cell allows validating data using custom validator controls on the server side.

AllowWrap

Gets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks.

CellCssClass

Gets or set the CSS class name for the cell which contains this cell type.

CssClass

Gets or sets the CSS class name.

EditorCssClass

Gets the editor's CSS class.

ErrorMessage

Gets or sets the error message for the cell type. This property is used by the derived classes.

ImeMode

Gets or sets the state of an Input Method Editor (IME).

MaxLength

Gets or sets the maximum length of text in the cell.

Multiline

Gets or sets whether the cell allows multiple lines of text.

Password

Gets or sets whether the cell has a password.

ShowEditor

Gets or sets whether the cell always displays the text box (editor control).

ShowEllipsis

Gets or sets whether to render ellipses (...) to indicate text overflow in the cell.

Methods

Name Description
CreateContent(TableCell, Appearance, object, bool)

Internal Use Only.

Deserialize(XmlNodeReader)

Loads the cell type from XML.

Format(object)

Formats the text to a string of password characters if the Password property is true.

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

Gets the control used to edit the cell.

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

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

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.

Serialize(XmlTextWriter)

Saves the cell type to XML.

Serialize2(XmlTextWriter)

Saves the cell type to XML using short names.

ValidateEditorValue(object)

Validates the input value.