I want to highlight part of text in xamTextEditor in editor mode by behind code(as the result of string search function).
Who know how to implement it? Thanks
Hello Shengjie,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Sincerely,Petar MonovDeveloper Support EngineerInfragistics Bulgariawww.infragistics.com/support
You can use the XamTextEditor’s SelectAll method or the SelectionStart and SelectionLenght properties. You can also use the SlectedText property to get the result of your selection.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support