public override int CalculateHeight(ViewInfo view) { if (IsHidden) { return(HiddenHeight); } var h = view.Font.Height; if (levelsOpen[view.Level]) { h += InnerNode.CalculateHeight(view); } return(h); }
protected override int CalculateChildHeight(ViewInfo view) { return(InnerNode.CalculateHeight(view)); }