Version

ResetPreferredSize Method (UltraGridBagLayoutPanel)

Resets the preferred size of the passed in control.
Syntax
'Declaration
 
Public Sub ResetPreferredSize( _
   ByVal control As Control _
) 
public void ResetPreferredSize( 
   Control control
)

Parameters

control
Control managed by the component
Remarks

This method resets the value of the PreferredSize for the specified control to its default value, which is its current size or the size indicated by its Infragistics.Win.Layout.ILayoutItem.PreferredSize if the control implements the Infragistics.Win.Layout.ILayoutItem interface.

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