LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

EnableKeyboard Property (RasterImageList)






Gets or sets a value indicating whether the control automatically processes the keyboard.
Syntax
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard.")]
public bool EnableKeyboard {get; set;}
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Indicates whether the control automatically processes the keyboard.")>
Public Property EnableKeyboard As Boolean
'Usage
 
Dim instance As RasterImageList
Dim value As Boolean
 
instance.EnableKeyboard = value
 
value = instance.EnableKeyboard
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard.")]
public bool EnableKeyboard {get; set;}
CategoryAttribute("Behavior")
DescriptionAttribute("Indicates whether the control automatically processes the keyboard.")
 get_EnableKeyboard();
set_EnableKeyboard(value);
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard.")]
public:
property bool EnableKeyboard {
   bool get();
   void set (    bool value);
}

Property Value

true if the control automatically processes the keyboard; otherwise, false. Default value is true.
Remarks

When automatic keyboard processing is enabled, the RasterImageList Control will process the following keys:

Key Event
PageUp, Up Arrow, Left Arrow Scroll up/left one item (depends on ScrollStyle)
PageDown, Down Arrow, Right Arrow Scroll down/right one item (depends on ScrollStyle)
Ctrl + PageUp, Ctrl + Up, Ctlr + Left, Home Scroll to beginning of list (depends on ScrollStyle)
Ctrl + PageDown, Ctrl + Down, Ctlr + Right, End Scroll to end of list (depends on ScrollStyle)

If the setting for SelectionMode is not RasterImageListSelectionMode.None, then the selected item will move up, down, left, or right, depending on the key(s) being processed. If SelectionMode is set to RasterImageListSelectionMode.Multi, multiple items can be selected using the CTRL and/or SHIFT keys in conjunction with the keys listed above.

Example
For an example, refer to RasterImageList.
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

RasterImageList Class
RasterImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.