 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| <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 IButtonControl | 
| C# |  | 
|---|
| [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 IButtonControl CancelButton {get; set;} | 
 Requirements
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
See Also