# C1.Web.Mvc.AutoCompleteBase-1.CssMatch

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_AutoCompleteBase_1_CssMatch_" data-uid="C1.Web.Mvc.AutoCompleteBase`1.CssMatch*">CssMatch Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_AutoCompleteBase_1_CssMatch_" data-uid="C1.Web.Mvc.AutoCompleteBase`1.CssMatch*"></a>
<h4 id="C1_Web_Mvc_AutoCompleteBase_1_CssMatch" data-uid="C1.Web.Mvc.AutoCompleteBase`1.CssMatch">CssMatch</h4>
<div class="markdown level1 summary"><p>Gets or sets the name of the CSS class used to highlight any parts of the content that match the search terms.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual string CssMatch { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property CssMatch As String</code></pre>
</div>
<h5 id="C1_Web_Mvc_AutoCompleteBase_1_CssMatch_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default, this property is set to &quot;wj-state-match&quot;, 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.</p>
</div>
</div>
