Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
EnableScrollingInterface Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : EnableScrollingInterface Property




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

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")>
<CategoryAttribute("Behavior")>
Public Property EnableScrollingInterface As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.EnableScrollingInterface = value
 
value = instance.EnableScrollingInterface
C# 
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")]
[CategoryAttribute("Behavior")]
public bool EnableScrollingInterface {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")]
[CategoryAttribute("Behavior")]
public: __property bool get_EnableScrollingInterface();
public: __property void set_EnableScrollingInterface( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")]
[CategoryAttribute("Behavior")]
public:
property bool EnableScrollingInterface {
   bool get();
   void set (bool value);
}

Return Value

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

Example

Remarks

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

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also