Spread for ASP.NET 7.0 Product Documentation
ButtonRenderer Constructor(String,String)
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ButtonRenderer Class > ButtonRenderer Constructor : ButtonRenderer Constructor(String,String)


cmd
The action to perform when the user clicks the button
text
The text to display in the button cell

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cmd As String, _
   ByVal text As String _
)
Visual Basic (Usage)Copy Code
Dim cmd As String
Dim text As String
 
Dim instance As New ButtonRenderer(cmd, text)
C# 
public ButtonRenderer( 
   string cmd,
   string text
)

Parameters

cmd
The action to perform when the user clicks the button
text
The text to display in the button cell

Remarks

Initializes an instance of the ButtonRenderer class, with the specified action and text.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.