Gets whether the command button is unavailable.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public ReadOnly Property Disabled As Boolean  | 
 
| C# |   | 
|---|
public bool Disabled {get;} | 
 
            
            
            Property Value
Boolean: 
true if button is disabled; 
false otherwise
 
            
			
			
            Remarks
            
            
Example
This example returns whether the Update button is disabled.
             
| C# |  Copy Code | 
|---|
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e)
{
bool b;
    if(e.Command == "Update")
    {
        b = e.Disabled;
        TextBox1.Text = b.ToString();
    }
}
 | 
 
| Visual Basic |  Copy Code | 
|---|
Private Sub FpSpread1CreateButton(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.CreateButtonEventArgs) Handles FpSpread1.CreateButton
    Dim b As Boolean
    If e.Command = "Update" Then
        b = e.Disabled
        TextBox1.Text = b.ToString()
    End If
End Sub | 
 
 
            
            
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