Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
UserPref..::..AutoScrollMargin Property
UserPref Class See Also Send Feedback

Gets or sets how many lines are kept visible on moving caret by keyboard.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public static int AutoScrollMargin { get; set; }

Visual Basic
    Public Shared Property AutoScrollMargin As Integer
    	Get
    	Set

#### Property Value

Type: Int32

# Remarks

When user moves caret with keyboard, Azuki automatically scrolls to ensure the caret always be in screen. This property determines how many lines the caret is distant at most from top or bottom of the window.

# See Also

UserPref Class
UserPref..::..UserPref Members
Sgry.Azuki Namespace