TextEdit.GetPositionFromCharIndex(Int32) Method
In This Article
Retrieves a point (relative to the control’s top left corner) at which the specified character is displayed.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | The index of the character for which to retrieve the location. |
#Returns
Type | Description |
---|---|
Point | The character’s location relative to the control’s top left corner. |
#Remarks
The GetPositionFromCharIndex method allows you to determine where in the control a specific character index is located. For example, you can get coordinates of a specific character, and then display a context menu.
See Also