Spread for ASP.NET 7.0 Product Documentation
CommandName Property
See Also  Support Options
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 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.