property Pivot.DataColumns as Columns
Retrieves the Data Columns collection of the pivot control.

TypeDescription
Columns A Columns object that holds a collection of Column object.

By default, the DataColumns collection is empty. Once you load data to the controls, the DataColumns collection is filled. The PivotColumnsFloatBarVisible property specifies whether the Columns collection is displayed to a floating bar, so user can drag and drop columns to the control's pivot bar so it gets data summarized. The ClearData method clears the control's data. 

The control can load data using one of the following methods:

You can use the DataColumns property to rename the columns, change the column's alignment, specify the sorting-filtering type, and so on.