mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-dot-datagridview-d7a8af8f.md
Gets or sets whether the grid is locked for updating.
Namespace : DevExpress.XamarinForms.DataGrid
Assembly : DevExpress.XamarinForms.Grid.dll
NuGet Package : DevExpress.XamarinForms.Grid
[XtraSerializableProperty]
public bool IsUpdateLocked { get; set; }
| Type | Description |
|---|---|
| Boolean |
true , if the grid is locked; otherwise, false.
|
You can use the IsUpdateLocked property to suppress the grid’s visual updates and maintain its performance when you perform multiple changes to it (for example, sort, group or update data).
Another way to do the same is to use the DataGridView.BeginUpdate - DataGridView.EndUpdate methods. In this case, the IsUpdateLocked allows you to determine the grid’s state. If the BeginUpdate locks it, the IsUpdateLocked property returns true.
See Also