Spread for ASP.NET 9.0 Product Documentation
TextCellType Class Members
Properties  Methods 


The following tables list the members exposed by TextCellType.

Public Constructors
 NameDescription
Public ConstructorTextCellType ConstructorCreates a new text cell.  
Top
Public Properties
 NameDescription
Public PropertyAllowServerValidatorsGets or sets whether the cell allows validating data using custom validator controls on server side.  
Public PropertyAllowWrapGets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks.  
Public PropertyCellCssClassGets or set the CSS class name for the cell which contains this cell type.  
Public PropertyCssClassGets or sets the CSS class name.  
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 PropertyImeModeGets or sets the state of an Input Method Editor (IME).  
Public PropertyMaxLengthGets or sets the maximum length of text in the cell.  
Public PropertyMultilineGets or sets whether the cell allows multiple lines of text.  
Public PropertyPasswordGets or sets whether the cell has a password.  
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 PropertyShowEditorGets or sets whether the cell always displays the text box (editor control).  
Public PropertyShowEllipsisGets or sets whether to render ellipses (...) to indicate text overflow in the cell.  
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. Formats the text to a string of password characters if the Password property is true.  
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 MethodGetPreferredSizeOverridden. Gets the preferred (maximum needed) size of the cell for the renderer control.  
Public MethodGetValidatorsGets the validator collection, overwrites this method to allow customizing the returned result from the BaseCellType.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 MethodParseWhen 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. (Inherited from FarPoint.Web.Spread.BaseCellType)
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 MethodSetTabIndexSet TabIndex for 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 input 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

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

User-Task Documentation

Setting a Text Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.