Spread for ASP.NET 12 Product Documentation
ButtonCellType Constructor(String,ButtonType,String)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ButtonCellType Class > ButtonCellType Constructor : ButtonCellType Constructor(String,ButtonType,String)
String of command to perform when the user clicks the button
Button type
Image URL if the button type is ButtonType.ImageButton; otherwise, the button text
Creates a new button cell with the specified command and button type.
Syntax
'Declaration
 
Public Function New( _
   ByVal cmd As String, _
   ByVal type As ButtonType, _
   ByVal urlOrText As String _
)
'Usage
 
Dim cmd As String
Dim type As ButtonType
Dim urlOrText As String
 
Dim instance As New ButtonCellType(cmd, type, urlOrText)
public ButtonCellType( 
   string cmd,
   ButtonType type,
   string urlOrText
)

Parameters

cmd
String of command to perform when the user clicks the button
type
Button type
urlOrText
Image URL if the button type is ButtonType.ImageButton; otherwise, the button text
See Also

Reference

ButtonCellType Class
ButtonCellType Members
Overload List