Back to Devexpress

NavBarControl.IsLoading Property

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-ad5896c5.md

latest1.9 KB
Original Source

NavBarControl.IsLoading Property

Gets a value indicating whether the control is being initialized.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

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

Property Value

TypeDescription
Boolean

true if the control is being initialized; otherwise false.

|

Remarks

When a control is initialized, it cannot be used by other controls. Use the NavBarControl.BeginInit and NavBarControl.EndInit methods to prevent the control from being used during initialization. Each time the NavBarControl.BeginInit method is called, the internal counter (which is initially zero) is incremented. When the NavBarControl.EndInit method is called, the counter is decremented. The IsLoading property returns false only when the counter is 0.

See Also

BeginInit()

EndInit()

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace