Back to Devexpress

BaseLayoutItem.IsUpdateLocked Property

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-ece43e16.md

latest2.2 KB
Original Source

BaseLayoutItem.IsUpdateLocked Property

Gets whether the layout item has been locked for updating.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

true if the layout item is locked; otherwise, false.

|

Remarks

The BaseLayoutItem.BeginInit method locks the layout item until the BaseLayoutItem.EndInit method is called. Any changes made after a call to the BaseLayoutItem.BeginInit method don’t force the layout item to update itself. The BaseLayoutItem.EndInit method invalidates and unlocks the layout item, so any further changes are applied immediately.

The IsUpdateLocked property returns true if the layout item or layout control has been locked by the BaseLayoutItem.BeginInit/LayoutControl.BeginUpdate method and not yet unlocked by the BaseLayoutItem.EndInit/LayoutControl.EndUpdate method.

See Also

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace