Skip to content

Commit c08d40e

Browse files
Update Code Changes For First Occurrence
1 parent 6fb1f05 commit c08d40e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

xamarin-android/SfAutoComplete/highlighting-matched-text.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ It highlights the first position of the matching characters in the suggestion li
3030

3131
{% highlight C# %}
3232

33-
countryAutoComplete.SuggestionMode=SuggestionMode.StartsWith;
34-
countryAutoComplete.TextHighlightMode=OccurrenceMode.FirstOccurrence;
35-
countryNameAutoComplete.HighlightedTextColor = Color.Red;
36-
countryNameAutoComplete.HighlightedTextFontAttributes = HighlightedTextFontAttributes.Bold;
33+
countryAutoComplete.TextHighlightMode = OccurrenceMode.FirstOccurrence;
34+
countryAutoComplete.HighlightedTextColor = Color.Blue;
35+
countryAutoComplete.HighlightedTextFontTypeFace = TypefaceStyle.Bold;
3736

3837
{% endhighlight %}
3938

0 commit comments

Comments
 (0)