[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.GeneralCellType

GeneralCellType Class

Represents the default cell.

Inheritance
GeneralCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(IRendererConverter))]
public class GeneralCellType : EditBaseCellType, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, ISerializable, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, IParseFormatSupport, ISerializeSupport, IFormulaEditor, IGeneralFormatSupport, IMultilineSupport, IReuseEditorControl2, IReuseEditorControl
<TypeConverter(GetType(IRendererConverter))>
Public Class GeneralCellType
    Inherits EditBaseCellType
    Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, ISerializable, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, IParseFormatSupport, ISerializeSupport, IFormulaEditor, IGeneralFormatSupport, IMultilineSupport, IReuseEditorControl2, IReuseEditorControl

Constructors

Name Description
GeneralCellType()

Creates a new general (default) cell with default settings.

GeneralCellType(SerializationInfo, StreamingContext)

Creates a new general (default) cell from serialization.

Properties

Name Description
DateTimeFormat

Gets or sets a DateTimeFormatInfo object that defines the format for displaying dates and times.

FormatString

Gets or sets the format string used to format the value.

IsDateFormat

Gets or sets whether the format string should be interpreted as a date-time format (true) or a number format (false).

IsFormulaValue

Determines whether the editor contains a formula.

Multiline

Gets or sets whether multiple lines of text are allowed.

NegativeRed

Gets or sets whether negative values are displayed in red.

NumberFormat

Gets or sets a NumberFormatInfo object that defines the format for displaying a numeric value.

Methods

Name Description
Clone()

Creates and returns a general (default) 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.

GetEditorControl(Control, Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the cell type.

GetParseFormat(int, int, ref string, ref IFormatProvider)

Gets the parse format string and IFormatProvider for formatting when the format string is not set.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReusable(Control)

Checks if this celltype is reusable.

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)

Sets the current culture information.

SetEditorValue(object)

Sets the value of the editor control.

SetFormatString(string, bool)

Sets the format string for formatting values.

SetParseFormat(int, int, string, IFormatProvider)

Sets the parse format string and IFormatProvider for formatting when the format string is not set.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.