TextEdit.GetCharacterIndexFromPoint(Point, Boolean) Method
Returns the insertion index for the specified point.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v26.1.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| point | Point | The point in the editor’s coordinate-space for which to return an insertion index. |
| snapToText | Boolean |
|
Returns
| Type | Description |
|---|---|
| Int32 | The insertion index for the specified point, -1 if the valid insertion index was not found. |
See Also