Skip to main content

NavBarControl.IsLoading Property

Gets a value indicating whether the control is being initialized.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public virtual bool IsLoading { get; }

Property Value

Type Description

true if the control is being initialized; otherwise false.


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