TextEdit.GetCharacterIndexFromLineIndex(Int32) Method

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

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

Parameters

Name Type Description
lineIndex Int32

The zero-based index of the text line.

Returns

Type Description
Int32

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

See Also