Skip to main content

PivotGridControl.IsUpdateLocked Property

Gets whether the PivotGridControl has been locked for updating.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

[Browsable(false)]
public bool IsUpdateLocked { get; }

Property Value

Type Description
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