Spread ASP.NET 6.0 Product Documentation
CommandName Property
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ButtonRenderer Class : CommandName Property


Glossary Item Box

Gets or sets the name of the command to perform.

Syntax

Visual Basic (Declaration) 
Public Property CommandName As String
Visual Basic (Usage)Copy Code
Dim instance As ButtonRenderer
Dim value As String
 
instance.CommandName = value
 
value = instance.CommandName
C# 
public string CommandName {get; set;}

Property Value

String containing the name of the command

Remarks

Use this property to specify the command to perform when the button is clicked. This property can contain any string. Write code in the ButtonCommand event to perform the action associated with the command name.

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.