Share via


PivotField.DragToColumn Property

True if the specified field can be dragged to the column position. The default value is True. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DragToColumn As Boolean
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As Boolean

value = instance.DragToColumn

instance.DragToColumn = value
bool DragToColumn { get; set; }

Property Value

Type: System.Boolean

Remarks

For OLAP data sources, the value is False for measure fields.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace