Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
Xaml:
<autocomplete:SfAutoCompleteHeightRequest="40"DropDownTextSize="20"x:Name="autoComplete"AutoCompleteMode="Suggest"MaximumDropDownHeight="200"SuggestionMode="Custom"/>
C#:
public bool ContainingSpaceFilter(string search, object item) { string text = item.ToString().ToLower(); if (item != null) { if (!search.Contains(".")) { search = search.Insert(0, "."); } if (text.StartsWith(search.ToLower())) { return true; } } return false; } |