Spread for ASP.NET 8.0 Product Documentation
ButtonCellType Class Members
Properties  Methods 


The following tables list the members exposed by ButtonCellType.

Public Constructors
 NameDescription
Public ConstructorButtonCellType ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAccessKeyGets or sets the access key that allows you to quickly navigate to the cell.  
Public PropertyAllowWrapGets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks.  
Public PropertyBackColorGets or sets the background color of the cell.  
Public PropertyButtonTypeGets or sets what type of command button to display.  
Public PropertyCommandNameGets or sets the command name for the button.  
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 PropertyForeColorGets or sets the foreground color (typically the color of the text) of the cell.  
Public PropertyImageUrlGets or sets the image to display in the button cell.  
Public PropertyOnClientClickGets or sets the OnClientClick event settings of the cell.  
Public PropertyRendererClientScriptUrlOverridden. Gets the URL of the client script file for the renderer, if the renderer supports client-side scripting.  
Public PropertyShowEllipsisGets or sets whether to render ellipsis (...) to indicate text overflow in the cell.  
Public PropertyTextGets or sets the button text.  
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 MethodFormatWhen 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. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodGetEditorControlOverridden. Gets the control used to edit the cell (and this implementation always returns null).  
Public MethodGetEditorValueOverridden. Gets the value from the editor control for the cell.  
Public MethodGetPreferredSizeOverridden. Gets the preferred (maximum needed) size of the cell for the renderer control.  
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 MethodToStringGets the name of the cell type. (Inherited from FarPoint.Web.Spread.BaseCellType)
Public MethodValidateEditorValueValidates the given value. (Inherited from FarPoint.Web.Spread.BaseCellType)
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

ButtonCellType Class
FarPoint.Web.Spread Namespace
CellType property (Cell)
CellType property (Column)
CellType property (Row)
ButtonRenderer Class

User-Task Documentation

Setting a Button Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.