[]
        
(Showing Draft Content)

FarPoint.Web.Spread.CheckBoxCellType

CheckBoxCellType Class

Represents a check box cell.

Inheritance
CheckBoxCellType
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class CheckBoxCellType : BaseCellType, ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IAutoPostBack, IRenderer2, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer
Public Class CheckBoxCellType
    Inherits BaseCellType
    Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IAutoPostBack, IRenderer2, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer

Constructors

Name Description
CheckBoxCellType()

Creates a new check box cell.

CheckBoxCellType(string, string)

Creates a new check box cell with the specified images.

Properties

Name Description
AccessKey

Gets or sets the access key that allows you to quickly navigate to the cell.

AutoPostBack

Gets or sets whether the component automatically posts back when clicked.

CheckedImageUrl

Gets or sets the image to display when the check box is checked.

CssClass

Gets or sets the CSS class name.

OnClientClick

Gets or sets the OnClientClick event settings of the cell.

Text

Gets or sets the text label associated with the CheckBox control.

TextAlign

Gets or sets the alignment of the text label associated with the CheckBox control.

UncheckedImageUrl

Gets or sets the image to display when the check box is unchecked.

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.

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

Gets the control used to edit the cell.

GetEditorValue(Control, string)

Gets the value from the editor control for the cell.

GetPreferredSize(Graphics, Size, Appearance, object, float, bool, bool)

Gets the preferred (maximum needed) size of the cell for the renderer control.

PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)

Gets a control and prints the cell to PDF based on the specified appearance and selection.

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.

Serialize2(XmlTextWriter)

Saves to XML using short names.

ValidateEditorValue(object)

Validates the input value.