[]
        
(Showing Draft Content)

FarPoint.Web.Spread.IntegerCellType

IntegerCellType Class

Represents an integer data type cell.

Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class IntegerCellType : BaseDropDownCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport, IEnhancedFormatter, IFormatter
Public Class IntegerCellType
    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
IntegerCellType()

Creates a new integer data type cell.

IntegerCellType(int, int)

Creates a new integer data type cell with the specified minimum and maximum values.

IntegerCellType(int, int, string)

Creates a new integer data type cell with the specified minimum and maximum values and specified error message.

IntegerCellType(string)

Creates a new integer data type cell with the specified message to display.

Properties

Name Description
AllowWrap

Overridden to always return false.

EditMode

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

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.

NumberFormat

Gets or sets a NumberFormatInfo which is used to format the numeric value, such as for currency.

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)

Returns the editor control for the specified cell.

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.