Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

TreeView.RefreshCustomRowHeights

protected void RefreshCustomRowHeights();

Description

Refreshes the cache of custom row rects based on the heights returned by GetCustomRowHeight.

This method calls GetCustomRowHeight for each of the current rows and caches the results. It is called automatically by the TreeView after BuildRows is called to ensure heights are in sync with the rows. Calling this method manually is needed when row heights changes dynamically e.g after a user action changes the content of a row.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答