CalculateListHeight Method (itemCount, itemHeight)

Calculate height of list control in pixels.
public float CalculateListHeight(
	int itemCount,
	float itemHeight
)

Parameters

itemCount (Int32)
Count of items in list.
itemHeight (Single)
Fixed height of list item.

Return Value

Required list height in pixels.