Spread for ASP.NET 11 Product Documentation
CommandName Property (ButtonRenderer)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ButtonRenderer Class : CommandName Property
Gets or sets the name of the command to perform.
Syntax
'Declaration
 
Public Property CommandName As String
'Usage
 
Dim instance As ButtonRenderer
Dim value As String
 
instance.CommandName = value
 
value = instance.CommandName
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.
See Also

Reference

ButtonRenderer Class
ButtonRenderer Members
ButtonCommand Event