[]
Represents a general cell that can be used for text or numbers.D:\Projects\SpreadNetJ\Spread.NET\WebForms\Projects\Spread\Chart\
public class GeneralCellType : BaseCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, ISerializeSupport, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator
Public Class GeneralCellType
Inherits BaseCellType
Implements ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, ISerializeSupport, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator
| Name | Description |
|---|---|
| GeneralCellType() | Creates a new general cell. |
| Name | Description |
|---|---|
| shortName | Sets whether to save the cell type to XML using short names. |
| Name | Description |
|---|---|
| AllowServerValidators | Gets or sets whether the cell allows validating data using custom validator controls on the server side. |
| AllowWrap | Gets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks. |
| CssClass | Gets or sets the CSS class name. |
| DateTimeFormat | Gets or sets a DateTimeFormatInfo that defines the format for displaying dates and times. |
| EditorCssClass | Gets the editor's CSS class. |
| ErrorMessage | Gets or sets the error message for the cell type. This property is used by the derived classes. |
| FormatString | Gets or sets the format string used to format the value. |
| ImeMode | Gets or sets the state of an Input Method Editor (IME). |
| IsDateFormat | Gets or sets whether the format string being used is a date-time format string. |
| Multiline | Gets or sets whether the cell allows multiple lines of text. |
| NegativeRed | Gets or sets if the red text color is used for negative values. |
| NumberFormat | Gets or sets a NumberFormatInfo which is used to format the numeric value, such as for currency. |
| Name | Description |
|---|---|
| CreateContent(TableCell, Appearance, object, bool) | Internal Use Only. |
| Deserialize(XmlNodeReader) | Loads the cell type from XML. |
| Format(object) | When deriving a cell type based on this type, override this |
| GetEditorControl(string, TableCell, Appearance, Inset, object, bool) | Gets the control used to edit the cell. |
| GetParseFormat(int, int, ref string, ref IFormatProvider) | Gets the parse format string and IFormatProvider for formatting when the format string is not set. |
| 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 |
| Serialize(XmlTextWriter) | Saves the cell type to XML. |
| Serialize2(XmlTextWriter) | Saves the cell type to XML using short names. |
| SetParseFormat(int, int, string, IFormatProvider) | Sets the parse format string and IFormatProvider for formatting when the format string is not set. |
| ValidateEditorValue(object) | Validates the given value. |