Spread for ASP.NET 10 Product Documentation
GeneralCellType Class Members
Fields  Properties  Methods 


The following tables list the members exposed by GeneralCellType.

Public Constructors
 NameDescription
Public ConstructorGeneralCellType ConstructorCreates a new general cell.  
Top
Protected Fields
 NameDescription
Protected FieldshortNameSets whether to save the cell type to XML using short names.  
Top
Public Properties
 NameDescription
Public PropertyAllowServerValidatorsGets or sets whether the cell allows validating data using custom validator controls on the server side.  
Public PropertyAllowWrapGets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks.  
Public PropertyCssClassGets or sets the CSS class name.  
Public PropertyDateTimeFormatGets or sets a DateTimeFormatInfo that defines the format for displaying dates and times.  
Public PropertyEditorClientScriptUrlGets the URL of the client script file for the editor, if the editor supports client-side scripting. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public PropertyEditorCssClassGets the editor's CSS class.  
Public PropertyErrorMessageGets or sets the error message for the cell type. This property is used by the derived classes.  
Public PropertyFormatStringGets or sets the format string used to format the value.  
Public PropertyImeModeGets or sets the state of an Input Method Editor (IME).  
Public PropertyIsDateFormatGets or sets whether the format string being used is a date-time format string.  
Public PropertyMultilineGets or sets whether the cell allows multiple lines of text.  
Public PropertyNegativeRedGets or sets if the red text color is used for negative values.  
Public PropertyNumberFormatGets or sets a NumberFormatInfo which is used to format the numeric value, such as for currency.  
Public PropertyRendererClientScriptUrlGets the URL of the client script file for the renderer, if the renderer supports client-side scripting. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public PropertyValidatorsGets the validator collection. (Inherited from FarPoint.Web.Spread.BaseCellType)
Top
Protected Properties
 NameDescription
Protected PropertyExtraRendererSettingsGets the conditional formatting settings. (Inherited from FarPoint.Web.Spread.BaseCellType)
Top
Public Methods
 NameDescription
Public MethodCloneCreates a new copy of the object using the MemberwiseClone method. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodDeserializeLoads the cell type from XML.  
Public MethodFormatOverridden. When deriving a cell type based on this type, override this to change what gets passed back and formatted as a string into the cell on the sheet from the object in the data model.  
Public MethodGetEditorControlOverridden. Gets the control used to edit the cell.  
Public MethodGetEditorValueGets the value from the editing control used for the cell. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodGetParseFormatGets the parse format string and IFormatProvider for formatting when the format string is not set.  
Public MethodGetPreferredSizeGets the preferred (maximum needed) size of the cell for the renderer control. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodGetValidatorsGets the validator collection, overwrites this method to allow customizing the returned result from the Validators property. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodPaintCellOverloaded. Overridden. Gets a control and renders it in the cell based on the specified appearance, margin, and value.  
Public MethodParseOverridden. When deriving a cell type based on this type, override this to change what gets parsed from the cell on the sheet and put in the data model.  
Public MethodRendererClientScriptUrl2Gets the URL of the client script file for the renderer for the specified Spread component, if the renderer supports client-side scripting. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodSerializeSaves the cell type to XML.  
Public MethodSerialize2Saves the cell type to XML using short names.  
Public MethodSetParseFormatSets the parse format string and IFormatProvider for formatting when the format string is not set.  
Public MethodSetTabIndexSets the tab index for the editor. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodToStringGets the name of the cell type. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodValidateEditorValueOverridden. Validates the given value.  
Top
Protected Methods
 NameDescription
Protected MethodAppendEllipsisAppends the ellipsis. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodApplyStyleToApplies the appearance and the margin to the cell. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodDrawBackgroundImageDraws the background image to PDF. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodFormatForPdfReturns the format of a value for PDF. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodGetImageGets an Image object using an image path. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodGetStringSizeGets the size of the text string. (Inherited from FarPoint.Web.Spread.BaseCellType)
Protected MethodProcessMarginOverloaded. Processes the margin. (Inherited from FarPoint.Web.Spread.BaseCellType)
Top
See Also

Reference

GeneralCellType Class
FarPoint.Web.Spread Namespace
CellType Property (Cell Class)
CellType Property (Column Class)
CellType Property (Row Class)

User-Task Documentation

Setting a General Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.