←Select platform

EnableScrollingInterface Property

Summary

Gets or sets a value indicating whether the control automatically processes the keyboard and mousewheel.

Syntax

C#
VB
C++
public bool EnableScrollingInterface { get; set; } 
Public Property EnableScrollingInterface As Boolean 
public: 
property bool EnableScrollingInterface { 
   bool get(); 
   void set (    bool ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly