LayoutEngine::InitLayout Method (Object^, BoundsSpecified)

 

Initializes the layout engine.

Namespace:   System.Windows.Forms.Layout
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual void InitLayout(
	Object^ child,
	BoundsSpecified specified
)

Parameters

child
Type: System::Object^

The container on which the layout engine will operate.

specified
Type: System.Windows.Forms::BoundsSpecified

The bounds defining the container's size and position.

Exception Condition
NotSupportedException

child is not a type on which LayoutEngine can perform layout.

Optionally provide initialization logic in the InitLayout method.

Notes to Inheritors:

Override the InitLayout method to provide your custom initialization behavior.

.NET Framework
Available since 2.0
Return to top
Show: