Skip to main content

NavBarControl.IsLoading Property

Gets a value indicating whether the control is being initialized.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

Declaration

[Browsable(false)]
public virtual bool IsLoading { get; }

Property Value

Type Description
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