Version

SelectItemViaKeyboard Method (SelectionStrategyExtended)

Called to select an item as a result of a key press
Syntax
'Declaration
 
Public Overrides Function SelectItemViaKeyboard( _
   ByVal item As ISelectableItem, _
   ByVal shiftKeyDown As Boolean, _
   ByVal controlKeyDown As Boolean, _
   ByVal forceToggle As Boolean _
) As Boolean
public override bool SelectItemViaKeyboard( 
   ISelectableItem item,
   bool shiftKeyDown,
   bool controlKeyDown,
   bool forceToggle
)

Parameters

item
The item to select
shiftKeyDown
True if the shift key is pressed
controlKeyDown
True if the control key is pressed.
forceToggle
Toggle the existing selection.

Return Value

True is successful.
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