windowsforms-devexpress-dot-xtratreelist-dot-treelist-bc91b5be.md
Invalidates the column header panel.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public virtual void InvalidateColumnPanel()
Public Overridable Sub InvalidateColumnPanel
The InvalidateColumnPanel method repaints the column headers and column button of the TreeList control. This can be used if you want the mentioned elements to change their appearance at times when not repainted automatically. For instance, expanding nodes or scrolling through rows doesn’t invoke column panel repainting. Thus, you must force column header panel repainting manually if its appearance must be changed due to these actions.
Generally, the following must be done in order to use the InvalidateColumnPanel effectively.
Use the TreeList.InvalidateColumnHeader method to control repainting of individual column headers.
See Also
InvalidateColumnHeader(TreeListColumn)