[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.MultiOptionCellType

MultiOptionCellType Class

Represents a multiple option button cell.

Inheritance
MultiOptionCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class MultiOptionCellType : 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 MultiOptionCellType
    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
MultiOptionCellType()

Creates a new multiple option button cell with default settings.

MultiOptionCellType(MultiOptionCellType)

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

MultiOptionCellType(SerializationInfo, StreamingContext)

Creates a new multiple option button cell from serialization.

Properties

Name Description
BackgroundImage

Gets or sets the background image for the cell.

Compact

Gets or sets a value indicating whether the button shows in compact mode.

EditorValue

Gets or sets what value is written to the underlying data model.

ItemData

Gets or sets the corresponding data for the items in the list of options.

Items

Gets or sets the list for the option buttons.

Orientation

Gets or sets the orientation of the option buttons.

Picture

Gets or sets the image for the option buttons.

TextAlign

Gets or sets how text aligns in the cell.

UseMnemonic

Gets or sets whether hot keys are used in the cell.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a multiple option button 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 editor control.

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.