[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.BaseCellType

BaseCellType Class

Represents the base class for other cell type classes.

Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(CellTypeConverter))]
public abstract class BaseCellType : ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType
<TypeConverter(GetType(CellTypeConverter))>
Public MustInherit Class BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType

Constructors

Name Description
BaseCellType()

Initializes a new instance of the BaseCellType class.

Properties

Name Description
ExtraRendererSettings

Gets the conditional formatting settings.

SubEditor

Gets or sets the subeditor.

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 a cell can overflow its data into an adjacent cell.

CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a base cell.

CloneCore()

Creates a new object that is a copy of the current instance.

FireEditingCanceled()

Fires the EditingCanceled event if there are any delegates attached.

FireEditingStopped()

Fires the EditingStopped event if there are any delegates attached.

FireEditorValueChanged(EventArgs)

Fires the EditorValueChanged event if there are any delegates attached.

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.

GetFormatterCore(CultureInfo)

Gets the formatter which represents the behavior of this 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.

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

GetReusableEditorControl(IReuseEditorControl, Control, Appearance, float)

Implementation of IReuseEditorControl.GetEditorControl for use by cell types.

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.

IsPropertySupported(string)

Gets whether the cell type supports the named property.

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 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 cell when not in edit mode to the specified graphics interface with the specified appearance settings.

PaintEnhancedConditionalFormat(Graphics, Rectangle, Appearance, object, bool, bool, float, ref RectangleF)

Paints the enhanced conditional format.

Parse(string)

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

ParseCore(string)

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

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.

ToNumberFormatCore()

Converts this cell type to the corresponding NumberFormat value.

ToString()

Converts the name of the cell type to a string.

Events

Name Description
EditingCanceled

Occurs when editing (the editor control) has been canceled by the user.

EditingStopped

Occurs when editing in the the editor control has been stopped by the user.

EditorValueChanged

Occurs when the value in the editor control has been changed by the user.