Northwoods.GoWPF 1.3.5 Assembly
AutoScrollRegion Property
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : AutoScrollRegion Property

Gets or sets the margin in the panel where a mouse drag will automatically cause the view to scroll.

Syntax

Visual Basic (Declaration) 
Public Property AutoScrollRegion As Thickness
C# 
public Thickness AutoScrollRegion {get; set;}

Property Value

The Thickness value defaults to 16,16,16,16.

Remarks

When the mouse drag point is within this region on the left or right sides, the view will automatically scroll horizontally in that direction. When the point is within the region on 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 0,0,0,0 turns off autoscrolling altogether.

Requirements

See Also

© 2012 All Rights Reserved.