Method GetFilter
GetFilter(string, Func<object, string>)
Gets a filter function which determines whether items should be suggested or not
for the specified query.
Default: Gets the filter which maps an item to true
if its text contains the query (case insensitive).
public virtual Predicate<object> GetFilter(string query, Func<object, string> stringFromItem)
Parameters
query
stringThe string input by user.
stringFromItem
Func<object, string>The function to get a string which identifies the specified item.