Back to Devexpress

PivotGridControl.IsUpdateLocked Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-2ecaeff7.md

latest1.8 KB
Original Source

PivotGridControl.IsUpdateLocked Property

Gets whether the PivotGridControl has been locked for updating.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[Browsable(false)]
public bool IsUpdateLocked { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsUpdateLocked As Boolean

Property Value

TypeDescription
Boolean

true if the PivotGridControl is locked; otherwise, false.

|

Remarks

The PivotGridControl.BeginUpdate and PivotGridControl.EndUpdate methods use an internal counter to implement the required functionality. The counter’s initial value is 0. Each call of the BeginUpdate method increments the counter, each call of the EndUpdate decrements the counter and if its new value is zero, change notifications are enabled. Use the IsUpdateLocked property to determine the collection state. If the counter’s value is 0 (zero), the IsUpdateLocked method returns false.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace