Hi Yasin,
You can use the methods of the DocumentPosition. Here is a sample code that shows how you can obtain the section that the caret is currently positioned on:
Hope this helps.
Regards,
Tanya
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the
Telerik API Analyzer and share your thoughts.