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