Skip to main content

TileItemElementCollection.IsLockUpdate Property

Gets if this TileItemElementCollection is currently locked by the TileItemElementCollection.BeginUpdate method call.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool IsLockUpdate { get; }

Property Value

Type Description
Boolean

true if a tile control is currently locked by the TileItemElementCollection.BeginUpdate method call; otherwise, false.

Remarks

Once the TileItemElementCollection.BeginUpdate method has been called, modifying the element collection doesn’t result in repainting the control. So, you can perform multiple modifications without multiple updates. This prevents a tile control from flickering. After all the desired operations have finished, call the TileItemElementCollection.EndUpdate or TileItemElementCollection.CancelUpdate method. Use TileItemElementCollection.EndUpdate if the control needs repainting after applying the changes. If you do not want to immediately update the collection, call the TileItemElementCollection.CancelUpdate method.

The IsLockUpdate property allows you tho check whether a tile control is currently locked by the TileItemElementCollection.BeginUpdate method.

See Also