How can I get a reference to a field that is at the current
Thanks in advance.
1 Answer, 1 is accepted
0
Tanya
Telerik team
answered on 07 Apr 2015, 05:11 PM
Hi William,
The Fields can be interpreted as an Annotations, as their FieldRangeStart/FieldRangeEnd derive respectively from AnnotationRangeStart/AnnotationRangeEnd. You could get the current inline using the CaretPosition's GetCurretnInline method and obtain the annotation ranges which surround it with GetContainingAnnotationRanges<TRangeStart>():