[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.TextCellType

TextCellType Class

Represents a text cell.

Inheritance
TextCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class TextCellType : EditBaseCellType, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, ISerializeSupport, ISerializable, IMultilineSupport, IReuseEditorControl2, IReuseEditorControl, IDisplayFormulaSupport
Public Class TextCellType
    Inherits EditBaseCellType
    Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, ISerializeSupport, ISerializable, IMultilineSupport, IReuseEditorControl2, IReuseEditorControl, IDisplayFormulaSupport

Constructors

Name Description
TextCellType()

Creates a new text cell with default settings.

TextCellType(TextCellType)

Creates a new copy from the specified cell type ("Copy constructor").

TextCellType(SerializationInfo, StreamingContext)

Creates a new text cell from serialization.

Properties

Name Description
CharacterCasing

Gets or sets the case of characters in the text cell.

CharacterSet

Gets or sets what characters to allow for the text cell.

HotkeyPrefix

Gets or sets whether the ampersand character underlines text.

MaxLength

Gets or sets the maximum number of characters allowed in the text cell.

Multiline

Gets or sets whether multiple lines of text are allowed.

PasswordChar

Gets or sets the character for masking data in the text cell.

ScrollBars

Gets or sets which scroll bars to display for the text cell.

Methods

Name Description
CanOverflow()

Determines whether the cell can overflow into adjacent cells.

Clone()

Creates and returns a text cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

Formats the specified data into the format of the cell type and returns it as a string.

GetEditorControl(Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetEditorControl(Control, Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the cell type.

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

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

GetPreferredSize(Control)

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

GetTextRectangle(Graphics, Rectangle, Font, Appearance, ref Rectangle, string)

Gets the rectangle in which text is drawn.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReusable(Control)

Checks if this celltype is reusable.

IsValid(object)

Determines whether the specified value is valid.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the cell, when not in edit mode, to the specified graphics interface with the specified appearance settings.

Parse(string)

Parses the specified string to the data type of the cell type and returns it as an object.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the editor control.