ImageMan.Net Version 3 Summer 2012 Release
CancelButton Property
See Also  Send Feedback
DTI.ImageMan Namespace > InputDialog Class : CancelButton Property





Glossary Item Box

Syntax

Visual Basic (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
Visual Basic (Usage)Copy Code
Dim instance As InputDialog
Dim value As System.Windows.Forms.IButtonControl
 
instance.CancelButton = value
 
value = instance.CancelButton
C# 
[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 System.Windows.Forms.IButtonControl CancelButton {get; set;}
JScript 
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
Managed Extensions for C++ 
[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 System.Windows.Forms.IButtonControl* get_CancelButton();
public: __property void set_CancelButton( 
   System.Windows.Forms.IButtonControl* value
);
C++/CLI 
[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 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

© 2014 Data Techniques, Inc. All Rights Reserved.