ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / AutoCompleteBase<T> Class / CssMatch Property

In This Topic
    CssMatch Property (AutoCompleteBase<T>)
    In This Topic
    Gets or sets the name of the CSS class used to highlight any parts of the content that match the search terms.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute("wj-state-match")>
    Public Overridable Property CssMatch As String
    [DefaultValue("wj-state-match")]
    public virtual string CssMatch {get; set;}
    Remarks
    By default, this property is set to "wj-state-match", which causes the matching terms to be shown in bold. You can set it to the name of a CSS class to change the way the matches are displayed.
    See Also