[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.RichTextCellType

RichTextCellType Class

Represents a rich text formatted text cell.

Inheritance
RichTextCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class RichTextCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, IFormulaEditor, IEditFormula, IReadOnlySupport, IStaticSupport, IMultilineSupport, IWordWrapSupport, IFormatValueFlag, IFormulaEditingSupport, IReuseEditorControl2, IReuseEditorControl, ICellType, ICloneable<ICellType>, IFormatter
Public Class RichTextCellType
    Inherits BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, IFormulaEditor, IEditFormula, IReadOnlySupport, IStaticSupport, IMultilineSupport, IWordWrapSupport, IFormatValueFlag, IFormulaEditingSupport, IReuseEditorControl2, IReuseEditorControl, ICellType, ICloneable(Of ICellType), IFormatter

Constructors

Name Description
RichTextCellType()

Creates a new rich text cell with default settings.

RichTextCellType(SerializationInfo, StreamingContext)

Creates a new rich text cell from serialization.

Properties

Name Description
AllowArrowKeysMoveActiveCell

Gets or sets whether to allow the arrow keys to move the active cell.

BackgroundImage

Gets or sets the background image for the cell.

IsFormulaValue

Determines whether the editor contains a formula.

MaxLength

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

Multiline

Gets or sets whether multiple lines of text are allowed.

ReadOnly

Gets or sets whether text is read-only.

ScrollBars

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

Static

Gets or sets whether text can be selected.

SubEditor

Gets or sets the subeditor.

WordWrap

Gets or sets whether text that is too long to fit in the cell wraps to additional lines.

Methods

Name Description
CanOverflow()

Determines whether the cell can overflow into adjacent cells.

CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a rich text cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

Formats the object.

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.

GetEditorValue()

Gets the unformatted value in the edit control.

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 required) size of the editor control.

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsCaretInTheBeginning()

Gets whether the caret is in the beginning.

IsCaretInTheEnd()

Gets whether the caret is at the end.

IsCaretInTheFirstLine()

Gets whether the caret is in the first line.

IsCaretInTheLastLine()

Gets whether the caret is in the last line.

IsReusable(Control)

Checks if this celltype is reusable.

IsValid(object)

Returns whether the entry is valid.

MeasureString(Graphics, Size, object)

Measures the string size.

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

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

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

Paints the rich text cell.

Parse(string)

Parses the string.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the edit control.

ShowSubEditor()

Shows the subeditor control associated with the cell.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.