## PivotField::SetDragToHide method


Indicates whether this pivot field can be removed from the [PivotTable](../../pivottable/) view. The default value is true.


>Deprecated
>
>Use PivotField.AllowRemovingFromView property instead. 
```cpp
void Aspose::Cells::Pivot::PivotField::SetDragToHide(bool value)
```

## Remarks


NOTE: This property is now obsolete. Instead, please use PivotField.AllowRemovingFromView property instead. This method will be removed 12 months later since July 2026. **Aspose** apologizes for any inconvenience you may have experienced. 


## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotField](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
