[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.ListBoxCellType

ListBoxCellType Class

Represents a list box cell.

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

Constructors

Name Description
ListBoxCellType()

Creates a new list box cell with default settings.

ListBoxCellType(ListBoxCellType)

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

ListBoxCellType(SerializationInfo, StreamingContext)

Creates a new list box cell from serialization.

Properties

Name Description
EditorValue

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

ImageList

Gets or sets the list of images for the list box.

ItemData

Gets or sets the corresponding data for the items in the list box.

ItemHeight

Gets or sets the height of each item in the list.

Items

Gets or sets the list of items for the list box.

SelectionMode

Gets or sets the selection mode for the list.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a list box cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

DoPaint(Graphics, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, ArrayList, Array, bool, ImageList, int, bool, SelectionMode)

Paints the list box cell.

DoPaint(Graphics, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, ArrayList, int, bool, ImageList, int, bool)

Paints the list box cell.

DoPaint(Graphics, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, ArrayList, int, bool, ImageList, int, bool, SelectionMode)

Paints the list box cell.

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.

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 list box 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.