TreeList.InvalidateSummaryFooterPanel() Method
Invalidates the summary footer panel.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Remarks
Use the InvalidateSummaryFooterPanel method to force the TreeList control to repaint its summary footer panel. This is useful when you need to change the look & feel of the summary footer or one of its cells at times when they are not repainted automatically. For instance, summary footer panel is not repainted when navigating through cells or selecting/deselecting nodes. Thus, you must force repainting manually if you want to update the summary footer with respect to such changes.
Generally, the following must be done in order to use the InvalidateSummaryFooterPanel method effectively.
- Write a TreeList.CustomDrawFooter and/or TreeList.CustomDrawFooterCell event handler. This enables you to paint the summary footer and its cells with respect to specific custom conditions.
- Call the InvalidateSummaryFooterPanel method when the above mentioned conditions have been changed (if these changes don’t lead to automatic repainting of the summary footer panel).