[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.EditBaseCellType

EditBaseCellType Class

Represents the basis for all editable cells.

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

Constructors

Name Description
EditBaseCellType()

Creates a new editable cell with default settings.

EditBaseCellType(EditBaseCellType)

Copies properties from the specified EditBaseCellType ("copy constructor").

EditBaseCellType(SerializationInfo, StreamingContext)

Creates a new editable cell from serialization.

Fields

Name Description
theme

Internal use only.

Properties

Name Description
AcceptsArrowKeys

Gets or sets how arrow keys are processed by the edit control.

AllowArrowKeysMoveActiveCell

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

AllowEditorVerticalAlign

Gets or sets whether to allow editor vertical align.

AutoCompleteCustomSource

Gets or sets a custom string collection when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode

Gets or sets how automatic completion works.

AutoCompleteSource

Gets or sets the source of complete strings used for automatic completion.

AutoFillAutoCompleteCustomSource

Gets or sets whether the AutoCompleteCustomSource is automatically filled with data from other cells in the column.

BackgroundImage

Gets or sets the background image for the cell.

ButtonAlign

Gets or sets where the buttons are displayed in the cell.

DefaultFont

Gets the default font.

DropDownButton

Gets or sets whether a drop-down button is displayed in the cell.

EnableSubEditor

Gets or sets whether the SubEditor is available.

FocusPosition

Gets or sets the initial cursor position.

LegacyTextRender

Gets or sets a value indicating whether the value is formatted with NumberFormat value.

NullDisplay

Gets or sets the text to display for null values.

ReadOnly

Gets or sets whether the cell is read-only (and thus cannot be modified).

ShrinkToFit

Gets or sets whether to shrink the text to fit the cell.

Static

Gets or sets whether the cell is static, which prohibits user interaction.

StringTrim

Gets or sets how to trim characters that do not fit in the cell.

SubEditor

Gets or sets the subeditor.

TextOrientation

Gets or sets how text orients itself when painting the cell.

TextRotationAngle

Gets or sets the rotation angle of the text for the cell.

WordWrap

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

Methods

Name Description
CanBeOverflown()

Determines whether data from another cell can overflow into this cell (whether this cell can be overflowed into).

CanOverflow()

Determines whether the cell can overflow into adjacent cells.

CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns an editable base 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.

GetEditorValue()

Gets the unformatted value in the editor control.

GetErrorIconBound(Graphics, Appearance, Rectangle, float)

Gets a rectangle to draw the error icon in.

GetHorizontalAlignment(object)

Gets the horizontal alignment based on the value.

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 cell for the editor control.

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

GetReusableEditorControl(IReuseEditorControl, Control, Appearance, float)

Implementation of IReuseEditorControl.GetEditorControl for use by cell types.

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

Gets the rectangle in which text is drawn.

GetVerticalAlignment(object)

Gets the vertical alignment based on the value.

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.

IsReservedKey(KeyEventArgs)

Determines whether the specified key has special meaning to the editor control.

IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)

Determines whether the specified cursor location has special meaning to the editor control.

IsValid(object)

Determines whether the specified value is valid.

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

Paints (prints) the cell to PDF.

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.

SetCurrentCulture(CultureInfo)

Gets or sets the current culture.

SetEditorValue(object)

Sets the value of the editor 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.

ToHorizontalAlignment(CellHorizontalAlignment)

Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.

ToVerticalAlignment(CellVerticalAlignment)

Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.