Leadtools.WinForms Namespace > RasterImageViewer Class : EnableScrollingInterface Property |
[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); }
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.
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