| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Behavior")> <DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")> 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# | |
|---|---|
[CategoryAttribute("Behavior")] [DescriptionAttribute("Indicates whether the control automatically processes the keyboard, and mousewheel.")] public bool EnableScrollingInterface {get; set;} | |
| C++/CLI | |
|---|---|
[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.Refer to RasterImageViewer.
When automatic keyboard and mousewheel processing is enabled, the RasterImageViewer Control will process the following keys:
System.Windows.Forms.Keys.UpScrolls up.System.Windows.Forms.Keys.DownScrolls down.System.Windows.Forms.Keys.LeftScrolls left.System.Windows.Forms.Keys.RightScrolls right.System.Windows.Forms.Keys.PageUpScrolls up one page.System.Windows.Forms.Keys.PageDownScrolls down one page.System.Windows.Forms.Keys.HomeScrolls back to 0, 0.System.Windows.Forms.Keys.EndScrolls down to maximum width and height.| Key | Event |
|---|---|
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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code