[]
        
(Showing Draft Content)

FarPoint.Web.Spread.PercentCellType

PercentCellType Class

Represents a percent value data type cell.

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

Creates a new percent data type cell.

PercentCellType(double, double)

Creates a new percent data type cell with the specified range of allowed values.

PercentCellType(double, double, string)

Creates a new percent data type cell with the specified range of allowed values and message to display.

PercentCellType(string)

Creates a new percent 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.

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

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)

Determines 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)

Gets the control used to edit the 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)

Determines 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.