GoDiagram Win Reference
AutoScrollRegion Property

Gets or sets the margin in the view where a mouse drag will automatically cause the view to scroll.
Syntax
'Declaration
 
<DescriptionAttribute("The margin in the view where a mouse drag will automatically cause the view to scroll.")>
<CategoryAttribute("Behavior")>
Public Overridable Property AutoScrollRegion As Size
[DescriptionAttribute("The margin in the view where a mouse drag will automatically cause the view to scroll.")]
[CategoryAttribute("Behavior")]
public virtual Size AutoScrollRegion {get; set;}

Property Value

The Size value must have non-negative Width and Height, indicating in view coordinates the distance from the edge of the display area. Initially the value is 16x16.
Remarks
When the mouse drag point is within AutoScrollRegion.Width of the left or right sides, the view will automatically scroll horizontally in that direction. When the point is within AutoScrollRegion.Height of the top or bottom, the view will automatically scroll vertically in that direction. You can specify a distance of zero to disable autoscrolling in a direction; a value of 0x0 turns off autoscrolling altogether.
Requirements

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

See Also

Reference

GoView Class
GoView Members
DoAutoScroll Method
ScrollSmallChange Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback