Visual Basic (Declaration) | |
---|---|
Public Property AutoScrollRegion As Thickness |
C# | |
---|---|
public Thickness AutoScrollRegion {get; set;} |
Property Value
TheThickness
value defaults to 16,16,16,16. 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.