Parameters
- height
- The total available height.
Return Value
A value representing the height required to fit the maximum number of items.
If the specified height can fit 2 items and there is not enough space to fit a 3rd one, then GetPreferredHeight will return the height necessary to fit 2 items.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2