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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show suggestions for spelling mistakes using context menu?

The SfRichTextBoxAdv control provides API to check the spelling mistake of current word in selection and get the list of suggestions for the misspelled words (if any). Using this option, you can easily customize the spell-checking functionality in context menu.

 

The following sample code demonstrates how to initialize SfRichTextBoxAdv control and context menu for it.

XAML

 

The following sample code demonstrates declaring a variable for holding the context menu instance for SfRichTextBoxAdv control.

C#

 

The following sample code demonstrates enabling the spell checker for SfRichTextBoxAdv control, initializing the context menu and adding event handlers for enabling context menu on right tap.

C#

 

The following sample code demonstrates the event handlers to enable context menu for spell-checking.

C#

 

The SfRichTextBoxAdv control provides API for retrieving the bounds of the cursor position. Using this option, you can easily customize enabling context menu through code behind.

 

The following sample code demonstrates how to enable context menu through code behind.

 

C#

 

You can find the sample from following link.

Sample

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
7535 03/02/2017 03/02/2017 UWP SfRichTextBoxAdv 4.5.1
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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