Hello Guys,
According to the meta data,
The Xamarin RichTextEditor's SelectionRange object is settable
//
// Description:
// Gets or sets the selection range of the text in the Telerik.XamarinForms.RichTextEditor.RadRichTextEditor.
public RichTextSelectionRange SelectionRange { get; set; }
So I tried to "set" the SelectionRange by code:
public void SetSelecionRange(int startIndex, int endIndex)
{
EditBox.SelectionRange = new RichTextSelectionRange(startIndex, endIndex);
}
But actually nothing happens, and I am not sure the how the start and end index of the selection is configured, perhaps based on the html code index? or plain text index?
I am not able to find the guide for setting selection range.
Please offer some help.