Version

GetIdealSize(Boolean,Single) Method

Returns the size that this column chooser control should be in order to appropriately display column headers.
Syntax
'Declaration
 
Public Overloads Function GetIdealSize( _
   ByVal actualRequiredSize As Boolean, _
   Optional ByVal zoomFactor As Single _
) As Size
public Size GetIdealSize( 
   bool actualRequiredSize,
   float zoomFactor
)

Parameters

actualRequiredSize
If actualRequiredSize is True then returns the size required to fully display all the columns. If it's False then it restricts to desktop bounds, to a minimum size and also makes sure that the ratio between height and width is no greater than 3.
zoomFactor
The zoomfactor, which to use for scaling the size.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also