Open dejanbasic opened 5 years ago
I don't think any of the native controls used supports this, so I don't see a way to do this
This is Syncfusion Xamarin.Forms Autocomplete control:
How they do this?
@dejanbasic I'm guessing they don't rely on native controls but custom forms control?
Notes: iOS example using attributed text: https://github.com/dinarajas/HighlightLabel/blob/master/classes/HighlightLabel.m
I implemented my own custom solution in Xamarin.Forms, which looks like this:
I used Entry control for search box and ListView for showing search results. I managed to highlight matched results, by using Label->FormattedText->FormattedString->Span controls, to split text into three parts: first part, highlighted text and last part.
Hello, I need to implement highlighting of search query on the matched results. Is there a way to do that?