Intersoft ClientUI Documentation
KeyBinding Constructor(ICommand,KeyGesture)
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > KeyBinding Class > KeyBinding Constructor : KeyBinding Constructor(ICommand,KeyGesture)






command
gesture
Initializes a new instance of KeyBinding class with the specified command and key gesture.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal command As ICommand, _
   ByVal gesture As KeyGesture _
)
Visual Basic (Usage)Copy Code
Dim command As ICommand
Dim gesture As KeyGesture
 
Dim instance As New KeyBinding(command, gesture)
C# 
public KeyBinding( 
   ICommand command,
   KeyGesture gesture
)
Delphi 
public KeyBinding( 
    command: ICommand;
    gesture: KeyGesture
); 
JScript 
public function KeyBinding( 
   command : ICommand,
   gesture : KeyGesture
);
Managed Extensions for C++ 
public: KeyBinding( 
   ICommand* command,
   KeyGesture* gesture
)
C++/CLI 
public:
KeyBinding( 
   ICommand^ command,
   KeyGesture^ gesture
)

Parameters

command
gesture

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

© 2012 All Rights Reserved.