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





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DefaultValueAttribute()>
<SRDescriptionAttribute("The accept button of the form. If this is set, the button is 'clicked' whenever the user presses the 'ENTER' key.")>
Public Property AcceptButton As System.Windows.Forms.IButtonControl
Visual Basic (Usage)Copy Code
Dim instance As InputDialog
Dim value As System.Windows.Forms.IButtonControl
 
instance.AcceptButton = value
 
value = instance.AcceptButton
C# 
[System.ComponentModel.DefaultValueAttribute()]
[SRDescriptionAttribute("The accept button of the form. If this is set, the button is 'clicked' whenever the user presses the 'ENTER' key.")]
public System.Windows.Forms.IButtonControl AcceptButton {get; set;}
JScript 
System.ComponentModel.DefaultValueAttribute()
SRDescriptionAttribute("The accept button of the form. If this is set, the button is 'clicked' whenever the user presses the 'ENTER' key.")
public function get,set AcceptButton : System.Windows.Forms.IButtonControl
Managed Extensions for C++ 
[System.ComponentModel.DefaultValueAttribute()]
[SRDescriptionAttribute("The accept button of the form. If this is set, the button is 'clicked' whenever the user presses the 'ENTER' key.")]
public: __property System.Windows.Forms.IButtonControl* get_AcceptButton();
public: __property void set_AcceptButton( 
   System.Windows.Forms.IButtonControl* value
);
C++/CLI 
[System.ComponentModel.DefaultValueAttribute()]
[SRDescriptionAttribute("The accept button of the form. If this is set, the button is 'clicked' whenever the user presses the 'ENTER' key.")]
public:
property System.Windows.Forms.IButtonControl^ AcceptButton {
   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.