Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.IsUpdateLocked Property

Gets whether the PivotGridControl has been locked for updating.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.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