Edit this page

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.

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy