Spread ASP.NET 6.0 Product Documentation
ButtonRenderer Constructor(String,String)
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.