DatabasePropertyPageUserControlBase.AcceptEnterKey Method
Makes buttons respond to the Enter key as if the button were clicked.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Protected Sub AcceptEnterKey ( _
sender As Object, _
e As KeyPressEventArgs _
)
protected void AcceptEnterKey(
Object sender,
KeyPressEventArgs e
)
protected:
void AcceptEnterKey(
Object^ sender,
KeyPressEventArgs^ e
)
member AcceptEnterKey :
sender:Object *
e:KeyPressEventArgs -> unit
protected function AcceptEnterKey(
sender : Object,
e : KeyPressEventArgs
)
Parameters
- sender
Type: System.Object
The sender of the event.
- e
Type: System.Windows.Forms.KeyPressEventArgs
The arguments that identify the type of key event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatabasePropertyPageUserControlBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace