FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CreateButtonEventArgs Class : Command Property |
'Declaration Public ReadOnly Property Command As String
'Usage Dim instance As CreateButtonEventArgs Dim value As String value = instance.Command
public string Command {get;}
Use this property to return any of the following button commands:
For more information about the print command, refer to the IsPrint property.
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e) { if(e.Command == "Update") { e.Label = "ReFresh"; } }
Private Sub FpSpread1CreateButton(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.CreateButtonEventArgs) Handles FpSpread1.CreateButton If e.Command = "Update" Then e.Label = "ReFresh" End If End Sub
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional