GrapeCity MultiRow Windows Forms Documentation
Register(ViewMode,IAction,Keys) Method


The ViewMode to register the ShortcutKey to.
The action to execute.
The corresponding key.
Registers a ShortcutKey to the specified ViewMode.
Syntax
Public Overloads Sub Register( _
   ByVal viewMode As ViewMode, _
   ByVal action As IAction, _
   ByVal key As Keys _
) 
Dim instance As ShortcutKeyManager
Dim viewMode As ViewMode
Dim action As IAction
Dim key As Keys
 
instance.Register(viewMode, action, key)
public void Register( 
   ViewMode viewMode,
   IAction action,
   Keys key
)

Parameters

viewMode
The ViewMode to register the ShortcutKey to.
action
The action to execute.
key
The corresponding key.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe action is a null reference (Nothing in Visual Basic).
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

Reference

ShortcutKeyManager Class
ShortcutKeyManager Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.