[]
Represents a color picker cell.
public class ColorPickerCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ICommonDialogSupport, IReuseEditorControl, ISerializable, ICellType, ICloneable<ICellType>, ICellRenderer
Public Class ColorPickerCellType
Inherits BaseCellType
Implements ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ICommonDialogSupport, IReuseEditorControl, ISerializable, ICellType, ICloneable(Of ICellType), ICellRenderer
Name | Description |
---|---|
ColorPickerCellType() | Creates a new color picker cell. |
ColorPickerCellType(ColorPickerCellType) | Creates a new color picker cell by copying from the specified ColorPickerCellType ("copy constructor"). |
ColorPickerCellType(SerializationInfo, StreamingContext) | Creates a new color picker cell from serialization. |
Name | Description |
---|---|
AllowFullOpen | Gets or sets whether to allow the color picker dialog to open fully. |
AnyColor | Gets or sets whether any color is allowed. |
BoxWidth | Gets or sets the width (in pixels) of the box in the color picker cell. |
Caption | Gets or sets the caption to display in the color picker cell. |
CustomColors | Gets or sets the custom colors for the color picker dialog. |
DropDown | Gets or sets whether to drop down the color picker dialog by default. |
FullOpen | Gets or sets whether to display the color picker dialog fully open. |
SolidColorOnly | Gets or sets whether only solid colors are displayed. |
Style | Gets or sets the style of the color picker. |
UnknownText | Gets or sets the text for unknown colors. |
UnknownTextStyle | Gets or sets the style of text for unknown colors. |
Name | Description |
---|---|
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 editor control. |
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) size of the cell. |
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. |
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 unformatted value in the editor control. |
ShowSubEditor() | Displays a color editor dialog. |
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. |