Table of Contents

Method CalculateTableHeight

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

CalculateTableHeight(TableData)

Gets the total rendered height of this table in lines (simple estimate).

public static int CalculateTableHeight(TableData data)

Parameters

data TableData

Returns

int

Remarks

This simple estimation assumes single-line rows. Used by external callers that don't have wrapped row heights. For the actual rendered height, use the instance's Height.