NavBarControl.IsLoading Property

Gets a value indicating whether the control is being initialized.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

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

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