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 );
Control Class | Control Members | System.WinForms Namespace | RemoveOnLayout