TBaseVirtualTree.InvalidateCache Method

Virtual Tree View

Empties the internal node cache and marks it as invalid.

Pascal
procedure InvalidateCache;
Description

Marks the internal node cache as being invalid. This will cause a cache validation run next time ValidateCache is called. 

 

The internal node cache is used to speed up display in Virtual Treeview. It contains node references with a distance of CacheThreshold nodes along with their vertical absolute position, which makes it possible to quickly find the position of a node for display, hit tests and so on.

Class
Links
What do you think about this topic? Send feedback!