[]
        
(Showing Draft Content)

FarPoint.Web.Spread.DoubleCellType

DoubleCellType Class

Represents a double-precision, floating-point data type cell.

Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class DoubleCellType : BaseDropDownCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport, IEnhancedFormatter, IFormatter
Public Class DoubleCellType
    Inherits BaseDropDownCellType
    Implements ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport, IEnhancedFormatter, IFormatter

Constructors

Name Description
DoubleCellType()

Creates a new double-precision, floating-point data type cell.

DoubleCellType(double, double)

Creates a new double-precision, floating-point data type cell with the minimum value and the maximum value specified.

DoubleCellType(double, double, string)

Creates a new double-precision, floating-point data type cell with the minimum value, the maximum value, and the error message specified.

DoubleCellType(string)

Creates a new double-precision, floating-point data type cell with the specified message to display.

Properties

Name Description
AllowWrap

Overridden to always return false.

DecimalDigits

Gets or sets the number of decimal digits to display.

EditMode

Gets the format setting of a cell type in edit mode.

FixedPoint

Gets or sets whether to display placeholder zeros in the decimal portion of the number for a fixed-point numeric display.

MaximumValue

Gets or sets the maximum value.

MinimumValue

Gets or sets the minimum value.

Multiline

Gets or sets whether the cell allows multiple lines; overridden to always return false.

ShowPopupButton

Gets or sets whether the editor supports showing a pop-up control.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the cell type from XML.

Format(object)

When deriving a cell type based on this type, override this
to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.

Format(object, string, IFormatProvider)

When deriving a cell type based on this type, override this
to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.

GetDropDownControl(FpSpread)

Returns the specified DropDown control that is implemented by the sub class.

GetEditorControl(string, TableCell, Appearance, Inset, object, bool)
PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets a control and renders it in the cell based on the specified appearance, margin, and value.

Parse(string)

When deriving a cell type based on this type, override this
to change what gets parsed from the cell on the sheet and put in the data model.

Serialize(XmlTextWriter)

Saves the cell type to XML.

ValidateEditorValue(object)

Validates the input value.