Skip to main content

NavBarControl.LayoutChanged() Method

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public virtual void LayoutChanged()

Remarks

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