[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.UniversalCellType

UniversalCellType Class

Represents the general cell type of GcSpreadSheet.

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

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.

FromWorkbook(IWorkbook)

Gets the UniversalCellType instance from the specified IWorkbook object.

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.

GetPreferredHeight(PaintingContext, object, ref CfExecutedResult, double)

Gets the preferred cell height to display cell content fully.

GetPreferredWidth(PaintingContext, object, ref CfExecutedResult, double)

Gets the preferred cell width to display cell content fully.

Import(XmlReader, ImportContext)

Imports the cell type data.

PaintBackground(PaintingContext, int, int, CellData)

Paints the background of a cell.

PaintBackground(PaintingContext, int, int, CellData, bool)

Paints the background of a cell.

PaintContent(PaintingContext, int, int, CellData)

Paints the content of a cell.

ToNumberFormat()

Gets the corresponding NumberFormat value of this cell type.