Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : AutoScrollRegion Property |
'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;}
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.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.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