Compartilhar via


PivotField.DragToData Property

True if the specified field can be dragged to the data 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 DragToData As Boolean
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As Boolean

value = instance.DragToData

instance.DragToData = value
bool DragToData { 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