[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Renderer.ButtonRenderer

ButtonRenderer Class

Represents a renderer control for button cells.

Inheritance
ButtonRenderer
Namespace: FarPoint.Web.Spread.Renderer
Assembly: FarPoint.Web.Spread.dll
Syntax
public class ButtonRenderer : DefaultRenderer, IEnhancedRenderer, IRenderer2, IRenderer
Public Class ButtonRenderer
    Inherits DefaultRenderer
    Implements IEnhancedRenderer, IRenderer2, IRenderer

Constructors

Name Description
ButtonRenderer()

Creates a new button cell renderer control.

ButtonRenderer(string)

Creates a button renderer control with the specified action.

ButtonRenderer(string, string)

Creates a button renderer control with the specified action and text.

Properties

Name Description
AccessKey

Gets or sets the access key that allows you to quickly navigate to the Web control.

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 the type of command button.

CommandName

Gets or sets the name of the command to perform.

ForeColor

Gets or sets the foreground color (typically the color of the text) of the cell.

ImageUrl

Gets or sets the path and file name of the picture to display in the button cell.

OnClientClick

Handles client-side click.

ShowEllipsis

Gets or sets whether to render ellipsis (...) to indicate text overflow in the cell.

Text

Gets or sets the text to display in the button cell.

Methods

Name Description
PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets the renderer control and renders it in the cell.