Version

ControlLayoutManagerBase Class

Base class for a component that manages the size and position of controls within their parent control.
Syntax
'Declaration
 
Public MustInherit Class ControlLayoutManagerBase 
   Inherits Infragistics.Win.UltraComponentBase
   Implements Infragistics.Shared.IUltraComponent, Infragistics.Win.Layout.ILayoutContainer 
public abstract class ControlLayoutManagerBase : Infragistics.Win.UltraComponentBase, Infragistics.Shared.IUltraComponent, Infragistics.Win.Layout.ILayoutContainer  
Remarks

The ControlLayoutManagerBase component is an abstract base class for a component that utilizes a Infragistics.Win.Layout.LayoutManagerBase derived layout manager for controlling the position and size of controls within a specific ContainerControl. The ContainerControl property must be set so the component knows which controls to arrange.

At design time, the component adds 3 extender properties to each control within the associated ContainerControl. IncludeInLayout is used to indicate whether the control should be arranged by the component. By default, all controls within the ContainerControl are arranged by the component. MinimumSize is used to indicate to the associated layout manager what is the minimum size that the control should be displayed at. PreferredSize is used to indicate the size at which the control would prefer to be set. Since these are extender properties, if you need to access the values at runtime, you must use the corresponding get/set methods on this component (e.g. to access the IncludeInLayout property, you would use the GetIncludeInLayout and SetIncludeInLayout methods).

The component includes a set of methods that may be used to control when the arrangement of the controls will occur. SuspendLayout is used to prevent the component from arranging the controls. This can be useful when programatically adding controls or initializing the layout properties of many controls within the ContainerControl. In order to have the component resume processing layout requests, you must invoke the ResumeLayout(Boolean) method. The PerformLayout(Boolean) method can be used to explicitly force a layout to occur.

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