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

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..UsesStickyCaret Property
AzukiControl Class See Also Send Feedback

Gets or sets whether caret behavior is 'sticky' or not.

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

# Syntax

C#
    public bool UsesStickyCaret { get; set; }

Visual Basic
    Public Property UsesStickyCaret As Boolean
    	Get
    	Set

#### Property Value

Type: Boolean

#### Implements

IUserInterface..::..UsesStickyCaret

# Remarks

This property determines whether the caret behaves 'sticky' or not.

Sticky caret tries to keep its desired column position unless user explicitly changes it (by hitting right or left key, for instance.) Non-sticky caret updates 'desired column position' everytime you type so moving up or down the caret never changes column position of the caret. On the other hand, sticky caret does not update desired column position by typing text (because user does not 'explicitly' changed it,) so moving up or down the caret restores the column position of it to the place where you start typing text.

# See Also

AzukiControl Class
AzukiControl..::..AzukiControl Members
Sgry.Azuki.WinForms Namespace