[]
Represents a button cell.
public class ButtonCellType : BaseCellType, ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IRenderer2, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer
Public Class ButtonCellType
Inherits BaseCellType
Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, IRenderer2, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer
Name | Description |
---|---|
ButtonCellType() | Creates a new button cell. |
ButtonCellType(string) | Creates a new button cell with the specified command. |
ButtonCellType(string, ButtonType) | Creates a new button cell with the specified command and button type. |
ButtonCellType(string, ButtonType, string) | Creates a new button cell with the specified command and button type. |
ButtonCellType(string, string) | Creates a new button cell with the specified command and text. |
Name | Description |
---|---|
AccessKey | Gets or sets the access key that allows you to quickly navigate to the cell. |
AllowWrap | Gets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks. |
BackColor | Gets or sets the background color of the cell. |
ButtonType | Gets or sets what type of command button to display. |
CommandName | Gets or sets the command name for the button. |
CssClass | Gets or sets the CSS class name. |
ForeColor | Gets or sets the foreground color (typically the color of the text) of the cell. |
ImageUrl | Gets or sets the image to display in the button cell. |
OnClientClick | Gets or sets the OnClientClick event settings of the cell. |
ShowEllipsis | Gets or sets whether to render ellipsis (...) to indicate text overflow in the cell. |
Text | Gets or sets the button text. |
Name | Description |
---|---|
Deserialize(XmlNodeReader) | Loads the cell type from XML. |
GetEditorControl(string, TableCell, Appearance, Inset, object, bool) | Gets the control used to edit the cell (and this implementation always returns null). |
GetEditorValue(Control, string) | Gets the value from the editor control for the cell. |
GetPreferredSize(Graphics, Size, Appearance, object, float, bool, bool) | Gets the preferred (maximum needed) size of the cell for the renderer control. |
PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float) | Gets a control and prints the cell to PDF based on the specified appearance and selection. |
PaintCell(string, TableCell, Appearance, Inset, object, bool) | Gets a control and renders it in the cell based on the specified appearance, margin, and value. |
Parse(string) | 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. |
Serialize(XmlTextWriter) | Saves the cell type to XML. |
Serialize2(XmlTextWriter) | Saves the cell type to XML using short names. |