The following tables list the members exposed by ButtonCellType.
Name | Description | |
---|---|---|
ButtonCellType Constructor | Overloaded. |
Name | Description | |
---|---|---|
BackgroundStyle | Gets or sets how the background is rendered. | |
ButtonColor | Gets or sets the color for the button. | |
ButtonColor2 | Gets or sets the secondary color used when drawing a gradient button. | |
DarkColor | Gets or sets the shadow color for the button. | |
GradientMode | Gets or sets the drawing style of a gradient button. | |
HotkeyPrefix | Gets or sets whether the ampersand character underlines text. | |
LightColor | Gets or sets the highlight color for the button. | |
Picture | Gets or sets the image for the button. | |
PictureDown | Gets or sets the image for the down state of the button. | |
ShadowSize | Gets or sets the width (in pixels) of the shadow around the button. | |
SubEditor | Gets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
Text | Gets or sets the button text. | |
TextAlign | Gets or sets how the text aligns itself in relation to the button image. | |
TextColor | Gets or sets the color for the button text. | |
TextDown | Gets or sets the text for the button down state. | |
TextOrientation | Gets or sets how text orients itself when painting the cell. | |
TextRotationAngle | Gets or sets the rotation angle of the text for the cell. | |
TwoState | Gets or sets whether the button has two states. | |
UseVisualStyleBackColor | Gets or sets whether to use the visual style setting background color. | |
WordWrap | Gets or sets whether text that is too long to fit in the cell wraps to additional lines. |
Name | Description | |
---|---|---|
CanBeOverflown | Determines whether data from another cell can overflow into this cell (whether this cell can be overflowed into). (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
CancelEditing | Overridden. Cancels the editing of a cell. | |
CanOverflow | Determines whether a cell can overflow its data into an adjacent cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
Clone | Creates and returns a base cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
Deserialize | Loads the object from XML. | |
Format | Overridden. Formats the specified data into the format of the cell type and returns it as a string. | |
GetEditorControl | Overloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling. | |
GetEditorValue | Overridden. Gets the unformatted value in the editor control. | |
GetPreferredSize | Overloaded. Overridden. Gets the preferred (maximum needed) size of the cell for the renderer control. | |
GetReservedCursor | Overridden. Gets the cursor reserved for this cell type. | |
IsPropertySupported | Gets whether the cell type supports the named property. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
IsReservedKey | Overridden. Determines whether the specified key has special meaning to the editor control. | |
IsReusable | Check if this celltype is reusable. | |
IsValid | Determines whether the specified value is valid. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
PaintCell | Overloaded. Overridden. Paints the cell when not in edit mode to the specified graphics interface with the specified appearance settings. | |
Parse | Overridden. Parses the specified string to the data type of the cell type and returns it as an object. | |
Serialize | Saves the object to XML. | |
SetEditorValue | Overridden. Sets the value of the editor control. | |
ShowSubEditor | Shows the subeditor control associated with the cell. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
StartEditing | Overridden. Starts the editing of a cell. | |
StopEditing | Overridden. Stops the editing of a cell. |
Name | Description | |
---|---|---|
FireEditorValueChanged | Fires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
ToHorizontalAlignment | Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value. | |
ToVerticalAlignment | Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value. |
Name | Description | |
---|---|---|
EditingCanceled | Occurs when editing (the editor control) has been canceled by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
EditingStopped | Occurs when editing (the editor control) has been stopped by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) | |
EditorValueChanged | Occurs when value (the editor control) has been changed by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType) |
Reference
ButtonCellType ClassFarPoint.Win.Spread.CellType Namespace
ButtonClicked Event
User-Task Documentation
Setting a Button CellWorking with Graphical Cell Types