LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

EnableScrollingInterface Property

Show in webframe





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:
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

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.