Cocktail Help Reference
OnKeyDown Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogHostBase Class : OnKeyDown Method



args
Data associated with the key event.

Glossary Item Box

Override to handle pressed keys in the dialog.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnKeyDown( _
   ByVal args As KeyEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As DialogHostBase
Dim args As KeyEventArgs
 
instance.OnKeyDown(args)
C# 
protected virtual void OnKeyDown( 
   KeyEventArgs args
)
C++/CLI 
protected:
virtual void OnKeyDown( 
   KeyEventArgs^ args
) 

Parameters

args
Data associated with the key event.

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

© 2013 All Rights Reserved.