Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarControl.LayoutChanged() Method

In This Article

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#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