[]
Configurates CustomFilter. Sets a custom filter function for filtering items.
public virtual TBuilder CustomFilter(string value)
Public Overridable Function CustomFilter(value As String) As TBuilder
| Type | Name | Description |
|---|---|---|
| string | value | The value. |
| Type | Description |
|---|---|
| TBuilder | Current builder. |
The function takes three parameters: the data item to test, the current query text, and the display text after DisplayMemberPath processing. It returns true to include the item and false to exclude it. When set, CaseSensitiveSearch, BeginsWithSearch(bool) and IsContentHtml are ignored, while MinLength(int) and MaxItems(int) still apply. This property has no effect when ItemsSourceFunction(string) is set. The default value is null.