New to Telerik UI for WinForms? Download free 30-day trial

Item Text Formatting

The text of each item can be formatted by using the FormatInfo, FormatString and FormattingEnabled properties. The FormattingEnabled property decides whether the FormatInfo and FormatString will be used to format each item’s text. When the FormattingEnabled property is set to false, setting the FormatInfo and FormatString properties will have no effect until the FormattingEnabled is set to true. FormatInfo is a class that implements the IFormatProvider interface. If FormatInfo is null the current culture of the executing thread is used as the IFormatProvider. The formatting functionality will work similarly to the standard Microsoft ListBox formatting.

In this article