[]
Gets or sets a custom highlight function for highlighting matched text.
[JsonConverter(typeof(FunctionConverter))]
public virtual string CustomHighlight { get; set; }
<JsonConverter(GetType(FunctionConverter))>
Public Overridable Property CustomHighlight As String
The function takes three parameters: the data item, the current query text, and the display text after DisplayMemberPath processing. It returns the HTML to display for that item. Matches may be wrapped in any element; wj-state-match is the built-in highlight class. The HTML is rendered as-is and is not sanitized, so the function must escape any text it did not create; unescaped input allows cross-site scripting (XSS) attacks. The default value is null.