[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.CheckBoxCellType

CheckBoxCellType Class

Represents a check box cell.

Inheritance
CheckBoxCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class CheckBoxCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl, ICellType, ICloneable<ICellType>, ICellRenderer
Public Class CheckBoxCellType
    Inherits BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl, ICellType, ICloneable(Of ICellType), ICellRenderer

Constructors

Name Description
CheckBoxCellType()

Creates a new check box cell with default settings.

CheckBoxCellType(CheckBoxCellType)

Creates a new copy from the specified cell type ("Copy constructor").

CheckBoxCellType(SerializationInfo, StreamingContext)

Creates a new check box cell from serialization.

Properties

Name Description
BackgroundImage

Gets or sets the background image for the cell.

Caption

Gets or sets the text in the check box regardless of the state, overrides TextTrue, TextFalse, and TextIndeterminate.

FocusRectangle

Gets or sets whether the focus rectangle is displayed.

HotkeyPrefix

Gets or sets whether the ampersand character underlines text.

Picture

Gets or sets the images for the states of the check box.

PictureZoomEffect

Gets or sets whether the image has zoom effects.

TextAlign

Gets or sets how the text is aligned in the cell.

TextFalse

Gets or sets the text for the false state.

TextIndeterminate

Gets or sets the indeterminate state text.

TextTrue

Gets or sets the text for the true state.

ThreeState

Gets or sets whether the check box has three states.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a check box 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.

GetEditorValue()

Gets the unformatted value in the editor control.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the cell type.

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

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

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

InitializeEditorControl(Control, Appearance, float)

Initializes the check box for editing.

IsReservedKey(KeyEventArgs)

Determines whether the specified key has special meaning to the editor control.

IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)

Determines whether the specified cursor location has special meaning to the editor control.

IsReusable(Control)

Checks if this celltype is reusable.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the cell when not in edit mode to the specified graphics interface with the specified appearance settings.

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.

SetEditorValue(object)

Sets the value of the editor control.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.

ToHorizontalAlignment(CellHorizontalAlignment)

Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.

ToVerticalAlignment(CellVerticalAlignment)

Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.