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


The following tables list the members exposed by ButtonCellType.

Public Constructors
 NameDescription
Public ConstructorButtonCellType ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyBackgroundStyleGets or sets how the background is rendered.  
Public PropertyButtonColorGets or sets the color for the button.  
Public PropertyButtonColor2Gets or sets the secondary color used when drawing a gradient button.  
Public PropertyDarkColorGets or sets the shadow color for the button.  
Public PropertyGradientModeGets or sets the drawing style of a gradient button.  
Public PropertyHotkeyPrefixGets or sets whether the ampersand character underlines text.  
Public PropertyLightColorGets or sets the highlight color for the button.  
Public PropertyPictureGets or sets the image for the button.  
Public PropertyPictureDownGets or sets the image for the down state of the button.  
Public PropertyPictureZoomEffectGets or sets whether the image has zoom effects.  
Public PropertyShadowSizeGets or sets the width (in pixels) of the shadow around the button.  
Public PropertySubEditorGets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public PropertyTextGets or sets the button text.  
Public PropertyTextAlignGets or sets how the text aligns itself in relation to the button image.  
Public PropertyTextColorGets or sets the color for the button text.  
Public PropertyTextDownGets or sets the text for the button down state.  
Public PropertyTextOrientationGets or sets how text orients itself when painting the cell.  
Public PropertyTextRotationAngleGets or sets the rotation angle of the text for the cell.  
Public PropertyTwoStateGets or sets whether the button has two states.  
Public PropertyUseVisualStyleBackColorGets or sets whether to use the visual style setting background color.  
Public PropertyWordWrapGets or sets whether text that is too long to fit in the cell wraps to additional lines.  
Top
Protected Properties
 NameDescription
Protected PropertyExtraRendererSettingsGets the conditional formatting settings. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
Public Methods
 NameDescription
Public MethodCanBeOverflownDetermines 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 MethodCancelEditingOverridden. Cancels the editing of a cell.  
Public MethodCanOverflowDetermines whether a cell can overflow its data into an adjacent cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodCloneCreates and returns a base cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodDeserializeLoads the object from XML.  
Public MethodFormatOverridden. Formats the specified data into the format of the cell type and returns it as a string.  
Public MethodGetEditorControlOverloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling.  
Public MethodGetEditorValueOverridden. Gets the unformatted value in the editor control.  
Public MethodGetErrorIconBoundGets a rectangle to draw the error icon in. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodGetPreferredSizeOverloaded. Overridden. Gets the preferred (maximum required) size of the cell for the renderer control.  
Public MethodGetReservedCursorOverridden. Gets the cursor reserved for this cell type.  
Public MethodIsPropertySupportedGets whether the cell type supports the named property. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodIsReservedKeyOverridden. Determines whether the specified key has special meaning to the editor control.  
Public MethodIsReusableChecks if this celltype is reusable.  
Public MethodIsValidDetermines whether the specified value is valid. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodPaintCellOverloaded. Overridden. Paints the cell, when not in edit mode, to the specified graphics interface with the specified appearance settings.  
Public MethodParseOverridden. Parses the specified string to the data type of the cell type and returns it as an object.  
Public MethodSerializeSaves the object to XML.  
Public MethodSetEditorValueOverridden. Sets the value of the editor control.  
Public MethodShowSubEditorShows the subeditor control associated with the cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodStartEditingOverridden. Starts the editing of a cell.  
Public MethodStopEditingOverridden. Stops the editing of a cell.  
Top
Protected Methods
 NameDescription
Protected MethodFireEditorValueChangedFires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheBeginningGets whether the caret is in the beginning. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheEndGets whether the caret is at the end. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheFirstLineGets whether the caret is in the first line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheLastLineGets whether the caret is in the last line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodPaintEnhancedConditionalFormatPaints the enhanced conditional format. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodToHorizontalAlignmentConverts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.  
Protected MethodToVerticalAlignmentConverts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.  
Top
Public Events
 NameDescription
Public EventEditingCanceledOccurs when editing (the editor control) has been canceled by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventEditingStoppedOccurs when editing in the the editor control has been stopped by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventEditorValueChangedOccurs 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

 

 


Copyright © GrapeCity, inc. All rights reserved.