LayoutControl.IsUpdateLocked Property

Gets whether the layout control has been locked for updating.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[Browsable(false)]
public bool IsUpdateLocked { get; }
<Browsable(False)>
Public ReadOnly Property IsUpdateLocked As Boolean

Property Value

Type Description
Boolean

true if the layout control is locked; otherwise, false;

Remarks

The LayoutControl.BeginUpdate method locks the layout control until the LayoutControl.EndUpdate method is called. Any changes made after a call to the BeginUpdate method don't force the layout control to update itself. The EndUpdate method invalidates and unlocks the layout control so that any further changes are applied immediately.

The IsUpdateLocked property returns true if the layout control has been locked by the BeginUpdate method and not yet unlocked by the EndUpdate method.

Implements

DevExpress.XtraLayout.ILayoutControl.IsUpdateLocked
See Also