[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.CellTypeBase

CellTypeBase Class

Represents a base class for any cell type.

Inheritance
CellTypeBase
Namespace: GrapeCity.Wpf.SpreadSheet.CellType
Assembly: GrapeCity.Wpf.SpreadSheet.dll
Syntax
public abstract class CellTypeBase : ICellType, ICloneable<ICellType>
Public MustInherit Class CellTypeBase
    Implements ICellType, ICloneable(Of ICellType)

Constructors

Name Description
CellTypeBase()

Fields

Name Description
CancelCommand

Editing is stopped but the old value is kept

Properties

Name Description
UniqueKey

Gets the unique Guid key of the cell type.

Methods

Name Description
Clone()

Clones this cell type.

ContainsFocus(FrameworkElement, IInputElement)

Gets a boolean value indicates whether the focus scope of element belong to editor.

Export(XmlWriter, ExportContext)

Exports the cell type data.

GetEditingCommand(Worksheet, int, int, bool, CellData, FrameworkElement)

Gets the editing command which will be executed after stopped editing.

GetEditingElement(PaintingContext, int, int, CellData, EventArgs)

Gets the editing element of the specified cell.

GetEditingValue(Worksheet, int, int, FrameworkElement)

Gets the editing object which represents the edited value.

GetFormatter(CultureInfo)

Gets the IFormatter object which is used to format cell data as text.

Import(XmlReader, ImportContext)

Imports the cell type data.

IsFormulaEditorSupported()

Gets a boolean value indicates that the editor support editing formula.

IsRequiredExport()

Gets a value indicating whether the cell type requires to export its data to XLSX format.

PaintBackground(PaintingContext, int, int, CellData)

Paints the background of a cell.

PaintContent(PaintingContext, int, int, CellData)

Paints the content of a cell.

Parse(string)

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

ProcessReversedKey(KeyEventArgs, IInputElement)

Return a command for the special key.

SetEditingText(FrameworkElement, string)

Set text to the editing control

ToNumberFormat()

Gets the corresponding NumberFormat value of this cell type.