# C1.Web.Mvc.ComboBoxBase-1.ItemFormatter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_ComboBoxBase_1_ItemFormatter_" data-uid="C1.Web.Mvc.ComboBoxBase`1.ItemFormatter*">ItemFormatter Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_ComboBoxBase_1_ItemFormatter_" data-uid="C1.Web.Mvc.ComboBoxBase`1.ItemFormatter*"></a>
<h4 id="C1_Web_Mvc_ComboBoxBase_1_ItemFormatter" data-uid="C1.Web.Mvc.ComboBoxBase`1.ItemFormatter">ItemFormatter</h4>
<div class="markdown level1 summary"><p>Gets or sets a function used to customize the values shown in the drop-down list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[JsonConverter(typeof(FunctionConverter))]
public string ItemFormatter { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;JsonConverter(GetType(FunctionConverter))&gt;
Public Property ItemFormatter As String</code></pre>
</div>
<h5 id="C1_Web_Mvc_ComboBoxBase_1_ItemFormatter_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The function takes two arguments, the item index and the default text or html, and returns the new text or html to display.</p>
</div>
</div>
