Back to Devexpress

TextEdit.GetCharacterIndexFromLineIndex(Int32) Method

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-dot-getcharacterindexfromlineindex-x28-system-dot-int32-x29.md

latest1.5 KB
Original Source

TextEdit.GetCharacterIndexFromLineIndex(Int32) Method

Returns the index of the first character in the specified line.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int GetCharacterIndexFromLineIndex(
    int lineIndex
)
vb
Public Function GetCharacterIndexFromLineIndex(
    lineIndex As Integer
) As Integer

Parameters

NameTypeDescription
lineIndexInt32

The zero-based index of the text line.

|

Returns

TypeDescription
Int32

The zero-based index of the first character in the specified line.

|

See Also

CaretIndex

GetCharacterIndexFromPoint(Point, Boolean)

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace