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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.

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