Gets the name of the command to perform.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Command As String |
C# | |
---|
public string Command {get;} |
Property Value
String containing the name of the command
Remarks
Example
This example changes the label of the Update button in the command bar.
C# | Copy Code |
---|
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e)
{
if(e.Command == "Update")
{
e.Label = "ReFresh";
}
}
|
Visual Basic | Copy Code |
---|
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 |
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