SpreadsheetGear 2012
CancelButton Property (WorkbookDesigner)






Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<SRDescriptionAttribute("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")>
Public Property CancelButton As System.Windows.Forms.IButtonControl
'Usage
 
Dim instance As WorkbookDesigner
Dim value As System.Windows.Forms.IButtonControl
 
instance.CancelButton = value
 
value = instance.CancelButton
[System.ComponentModel.DefaultValue()]
[SRDescription("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")]
public System.Windows.Forms.IButtonControl CancelButton {get; set;}
public read-write property CancelButton: System.Windows.Forms.IButtonControl; 
System.ComponentModel.DefaultValueAttribute()
SRDescriptionAttribute("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")
public function get,set CancelButton : System.Windows.Forms.IButtonControl
[System.ComponentModel.DefaultValue()]
[SRDescription("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")]
public: __property System.Windows.Forms.IButtonControl* get_CancelButton();
public: __property void set_CancelButton( 
   System.Windows.Forms.IButtonControl* value
);
[System.ComponentModel.DefaultValue()]
[SRDescription("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")]
public:
property System.Windows.Forms.IButtonControl^ CancelButton {
   System.Windows.Forms.IButtonControl^ get();
   void set (    System.Windows.Forms.IButtonControl^ value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookDesigner Class
WorkbookDesigner Members

Send Feedback