Articles in this section
Category / Section

How to handle the TextChanged event in the SfRichTextEditor

1 min read

This article explains how to handle the text changed event in the Rich Text Editor.

 

Step 1: 

Create a SfRichTextEditor sample with all the necessary assemblies. Refer to this Getting started documentation to create a simple SfRichTextEditor sample and configure it.

 

Step 2:

Use the TextChanged event to track the text changes in the SfRichTextEditor.

 

XAML

<rte:SfRichTextEditor TextChanged="Rte_TextChanged" x:Name="Rte" Text="Hello World!!!"/>

 

Step 3:

Attach the method for text changed event to track the text changes.

 

C#

        private void Rte_TextChanged(object sender, Syncfusion.XForms.RichTextEditor.TextChangedEventArgs e)
        {
            //gets the new text. 
            var text = e.Text;
        }

 

The sample that explains how to track the text changes using the TextChanged event in the Rich Text Editor text can be downloaded here.

 

If you have any questions or require clarification about this support, please let us know in the following comments section. You can also contact us through our support forum or Direct Trac. We will be happy to assist you!

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied