ComponentOne ASP.NET MVC Controls
ItemFormatter Method (ComboBoxBaseBuilder<T,TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > ComboBoxBaseBuilder<T,TControl,TBuilder> Class : ItemFormatter Method
The value.
Configurates C1.Web.Mvc.ComboBoxBase<T>.ItemFormatter. Sets a function used to customize the values shown in the drop-down list.
Syntax
'Declaration
 
Public Function ItemFormatter( _
   ByVal value As String _
) As TBuilder
public TBuilder ItemFormatter( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
The function takes two arguments, the item index and the default text or html, and returns the new text or html to display.
See Also

Reference

ComboBoxBaseBuilder<T,TControl,TBuilder> Class
ComboBoxBaseBuilder<T,TControl,TBuilder> Members