Version

GetKeyboardParameter Method

Returns the parameter that should be used for a given command that is being processed by the ProcessKeyboardInput method.
Syntax
'Declaration
 
Protected Overrides Function GetKeyboardParameter( _
   ByVal commandHost As ICommandHost, _
   ByVal command As RoutedCommand, _
   ByVal keyArgs As KeyEventArgs _
) As Object
protected override object GetKeyboardParameter( 
   ICommandHost commandHost,
   RoutedCommand command,
   KeyEventArgs keyArgs
)

Parameters

commandHost
The ICommandHost instance for which the keyboard input is being processed.
command
The command to be executed.
keyArgs
The key event arguments for which the command is being invoked

Return Value

Returns the object to supply as the parameter for the command execution.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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