[]
        
(Showing Draft Content)

FarPoint.Web.Spread.ButtonCellType.-ctor

ButtonCellType Constructor

ButtonCellType()

Creates a new button cell.

Declaration
public ButtonCellType()
Public Sub New()

ButtonCellType(string)

Creates a new button cell with the specified command.

Declaration
public ButtonCellType(string cmd)
Public Sub New(cmd As String)
Parameters
Type Name Description
string cmd

String of command to perform when the user clicks the button

ButtonCellType(string, string)

Creates a new button cell with the specified command and text.

Declaration
public ButtonCellType(string cmd, string text)
Public Sub New(cmd As String, text As String)
Parameters
Type Name Description
string cmd

String of command to perform when the user clicks the button

string text

String with button text

ButtonCellType(string, ButtonType)

Creates a new button cell with the specified command and button type.

Declaration
public ButtonCellType(string cmd, ButtonType type)
Public Sub New(cmd As String, type As ButtonType)
Parameters
Type Name Description
string cmd

String of command to perform when the user clicks the button

ButtonType type

Button type

ButtonCellType(string, ButtonType, string)

Creates a new button cell with the specified command and button type.

Declaration
public ButtonCellType(string cmd, ButtonType type, string urlOrText)
Public Sub New(cmd As String, type As ButtonType, urlOrText As String)
Parameters
Type Name Description
string cmd

String of command to perform when the user clicks the button

ButtonType type

Button type

string urlOrText

Image URL if the button type is ButtonType.ImageButton; otherwise, the button text