Spread Windows Forms 12.0 Product Documentation
ButtonCellType Class Members
Properties  Methods  Events


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace : ButtonCellType Class

The following tables list the members exposed by ButtonCellType.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyGets or sets how the background is rendered.  
Public PropertyGets or sets the color for the button.  
Public PropertyGets or sets the secondary color used when drawing a gradient button.  
Public PropertyGets or sets the shadow color for the button.  
Public PropertyGets or sets the drawing style of a gradient button.  
Public PropertyGets or sets whether the ampersand character underlines text.  
Public PropertyGets or sets the highlight color for the button.  
Public PropertyGets or sets the image for the button.  
Public PropertyGets or sets the image for the down state of the button.  
Public PropertyGets or sets whether the image has zoom effects.  
Public PropertyGets or sets the width (in pixels) of the shadow around the button.  
Public PropertyGets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public PropertyGets or sets the button text.  
Public PropertyGets or sets how the text aligns itself in relation to the button image.  
Public PropertyGets or sets the color for the button text.  
Public PropertyGets or sets the text for the button down state.  
Public PropertyGets or sets how text orients itself when painting the cell.  
Public PropertyGets or sets the rotation angle of the text for the cell.  
Public PropertyGets or sets whether the button has two states.  
Public PropertyGets or sets whether to use the visual style setting background color.  
Public PropertyGets or sets whether text that is too long to fit in the cell wraps to additional lines.  
Top
Protected Properties
 NameDescription
Protected PropertyGets the conditional formatting settings. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
Public Methods
 NameDescription
Public MethodDetermines whether data from another cell can overflow into this cell (whether this cell can be overflowed into). (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodOverridden. Cancels the editing of a cell.  
Public MethodDetermines whether a cell can overflow its data into an adjacent cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodCreates and returns a base cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodLoads the object from XML.  
Public MethodOverridden. Formats the specified data into the format of the cell type and returns it as a string.  
Public MethodOverloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling.  
Public MethodOverridden. Gets the unformatted value in the editor control.  
Public MethodGets a rectangle to draw the error icon in. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodOverloaded. Overridden. Gets the preferred (maximum required) size of the cell for the renderer control.  
Public MethodOverridden. Gets the cursor reserved for this cell type.  
Public MethodGets whether the cell type supports the named property. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodOverridden. Determines whether the specified key has special meaning to the editor control.  
Public MethodChecks if this celltype is reusable.  
Public MethodDetermines whether the specified value is valid. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodOverloaded. Overridden. Paints the cell, when not in edit mode, to the specified graphics interface with the specified appearance settings.  
Public MethodOverridden. Parses the specified string to the data type of the cell type and returns it as an object.  
Public MethodSaves the object to XML.  
Public MethodOverridden. Sets the value of the editor control.  
Public MethodShows the subeditor control associated with the cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodOverridden. Starts the editing of a cell.  
Public MethodOverridden. Stops the editing of a cell.  
Top
Protected Methods
 NameDescription
Protected MethodFires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGets whether the caret is in the beginning. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGets whether the caret is at the end. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGets whether the caret is in the first line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGets whether the caret is in the last line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodPaints the enhanced conditional format. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodConverts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.  
Protected MethodConverts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.  
Top
Public Events
 NameDescription
Public EventOccurs when editing (the editor control) has been canceled by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventOccurs when editing in the the editor control has been stopped by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventOccurs when the value in the editor control has been changed by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
See Also

Reference

ButtonCellType Class
FarPoint.Win.Spread.CellType Namespace
ButtonClicked Event

User-Task Documentation

Setting a Button Cell
Working with Graphical Cell Types