Version

PackLayout(Hashtable) Method

For Internal Use Only. Removes any columns and rows from the grid-bag that do not have any items. In other words, if there isn't any item that is on or goes through a row or a column, then the originX's and originY's of the items will be adjusted to get rid of such a column or a row.
Syntax
'Declaration
 
Public Overloads Shared Sub PackLayout( _
   ByVal dims As Hashtable _
) 
public static void PackLayout( 
   Hashtable dims
)

Parameters

dims
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