NavBarControl.LayoutChanged() Method

Recalculates look and feel information and forces the control to repaint itself.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll


public virtual void LayoutChanged()
Public Overridable Sub LayoutChanged


The LayoutChanged method is called automatically when the control needs to be repainted. It invalidates the control if it is not being initialized or updated.

Use the NavBarControl.BeginInit and NavBarControl.EndInit methods to signal the beginning and the end of control initialization. The NavBarControl.IsLoading property allows you to determine whether it is being initialized at the present.

The NavBarControl.BeginUpdate and NavBarControl.EndUpdate methods also allow you to perform changes without multiple control repaints.

See Also