property Pivot.FormatContents as FormatContents
Retrieves the FormatContents collection of the pivot control.

TypeDescription
FormatContents A FormatContents object that holds a collection of FormatContent object.
The FormatContent object formats or converts the values to be displayed on the columns/rows. For instance, you can specify a column to be display its content as currency, or you can show the control's content in uppercase. The Expression property specifies the format to be applied on objects. The FormatContents collection is displayed on the control's context menu under the Content sub menu as shown bellow. Use the Add method to add new FormatContent objects. If the FormatContent's Expression is not valid, the object shows as disabled in the control's context menu. If the PivotBarVisible property includes the exPivotBarAllowFormatContent flag, the control's context menu includes the FormatContent objects. If the exPivotBarAllowFormatContent flag is missing from the PivotBarVisible property, the control's context menu displays no FormatContent objects.  

Here's a few samples on how to use the FormatContent objects: