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

EnableScrollingInterface Property






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

Property Value

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

When automatic keyboard and mousewheel processing is enabled, the RasterImageViewer Control will process the following keys:

Key Event
System.Windows.Forms.Keys.Up Scrolls up.
System.Windows.Forms.Keys.Down Scrolls down.
System.Windows.Forms.Keys.Left Scrolls left.
System.Windows.Forms.Keys.Right Scrolls right.
System.Windows.Forms.Keys.PageUp Scrolls up one page.
System.Windows.Forms.Keys.PageDown Scrolls down one page.
System.Windows.Forms.Keys.Home Scrolls back to 0, 0.
System.Windows.Forms.Keys.End Scrolls down to maximum width and height.

The scrolling is only valid of the value of AutoScroll is set to true

Holding down the control key while pressing up, down, left or right will scroll by a page to the appropriate direction.

Example
Refer to RasterImageViewer.
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

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

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