Skip to main content

PivotGridControl.IsUpdateLocked Property

Gets whether the PivotGridControl has been locked for updating.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

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