NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.AddOnLayout

Adds an event handler for the layout event. The layout event occurs when any event occurs that would cause the control to layout child controls. These events include; resize, show/hide child controls, add/remove child controls. This event should be used to perform any custom layout logic.

[Visual Basic]
Overridable Public Sub AddOnLayout( _
   ByVal handler As LayoutEventHandler _
)
[C#]
public virtual void AddOnLayout(
   LayoutEventHandler handler
);
[C++]
public: virtual void AddOnLayout(
   LayoutEventHandler* handler
);
[JScript]
public function AddOnLayout(
   handler : LayoutEventHandler
);

Parameters

handler
New handler to install for this event.

See Also

Control Class | Control Members | System.WinForms Namespace | RemoveOnLayout