Text Prediction in UWP RichTextBox (SfRichTextBoxAdv)

10 May 20211 minute to read

The SfRichTextBoxAdv provides support for text prediction while editing text using virtual keyboard in phone device. By default text prediction is enabled in SfRichTextBoxAdv. The following sample code demonstrates how to enable or disable text prediction in SfRichTextBoxAdv.

<RichTextBoxAdv:SfRichTextBoxAdv x:Name="richTextBoxAdv" ManipulationMode="All" IsTextPredictionEnabled="False" />
// Initializes a new instance of SfRichTextBoxAdv.
SfRichTextBoxAdv richTextBoxAdv = new SfRichTextBoxAdv();
richTextBoxAdv.ManipulationMode = ManipulationModes.All;

// Disables text prediction in RichTextBoxAdv.
richTextBoxAdv.IsTextPredictionEnabled = false;