Back to Devexpress

TextEdit.CaretIndex Property

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-74e10541.md

latest1.3 KB
Original Source

TextEdit.CaretIndex Property

Gets or sets the position of the input caret.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public int CaretIndex { get; set; }
vb
<Browsable(False)>
Public Property CaretIndex As Integer

Property Value

TypeDescription
Int32

A zero-based integer value that specifies the position of the input caret. If negative, an exception is thrown.

|

See Also

GetCharacterIndexFromLineIndex(Int32)

GetCharacterIndexFromPoint(Point, Boolean)

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace