TextBox::CaretIndex Property
.NET Framework (current version)
Gets or sets the insertion position index of the caret.
Assembly: PresentationFramework (in PresentationFramework.dll)
Getting this property returns the current insertion position index of the caret (see TextPointer for information on terminology like "insertion position"). Setting this property moves the caret to the specified insertion position.
An insertion position is between either characters or element tags.
.NET Framework
Available since 3.0
Available since 3.0
Show: