Text Prediction in UWP DOCX Editor
30 Aug 20261 minute to read
The SfRichTextBoxAdv provides support for text prediction while editing text using a virtual keyboard on a phone device. Text prediction is enabled by default in SfRichTextBoxAdv and can be disabled by setting the IsTextPredictionEnabled property to false.
The following sample code demonstrates how to 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 SfRichTextBoxAdv.
richTextBoxAdv.IsTextPredictionEnabled = false;' Initializes a new instance of SfRichTextBoxAdv.
Dim richTextBoxAdv As New SfRichTextBoxAdv()
richTextBoxAdv.ManipulationMode = ManipulationModes.All
' Disables text prediction in SfRichTextBoxAdv.
richTextBoxAdv.IsTextPredictionEnabled = False