Called by the framework to format the item.
The default implementation formats the item according to its VARIANT type to string.