We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Screen coordinates for CaretPosition

Thread ID:





127540 Nov 22,2016 09:21 AM UTC Nov 24,2016 05:05 PM UTC WPF 3
Tags: SfRichTextBoxAdv
Asked On November 22, 2016 09:21 AM UTC


I need to display a context menu in the SFRichTextBoxAdv control using a shortcut key. This works but I do not know how to get the screen coordinates of the current Caret position to open it at the approriate position.

How do I do this?


Venkatesan Mani [Syncfusion]
Replied On November 23, 2016 12:07 PM UTC

Hi Bernd, 

Thank you for using Syncfusion products. 

Could you please clarify your requirement of retrieving the caret position is based on? 
1. Coordinate within SfRichTextBoxAdv control 
2. Coordinate within application window 
3. Coordinate of entire screen 
If possible, please provide prototype sample by specifying default position (Instead of caret position) for context menu. So that we can analyze further with respect to your requirement and provide you appropriate solution at the earliest. 


Replied On November 23, 2016 12:24 PM UTC


actually any of these would work. I just need to open the ContextMenu at the Caret position, so most probably the relative position to the SfRichTextBoxAdv would be best.


Venkatesan Mani [Syncfusion]
Replied On November 24, 2016 05:05 PM UTC

Hi Bernd,

Thank you for your update.

At present there is no support to get the coordinates of the caret position in SfRichTextBoxAdv control. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates


Venkatesan M. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon