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.OnLayout

Core layout logic. Inheriting controls should override this function to do any custom layout logic. It is not neccessary to call base.layoutCore, however for normal docking and anchoring functions to work, base.layoutCore must be called.

[Visual Basic]
Overridable Protected Sub OnLayout( _
   ByVal levent As LayoutEventArgs _
)
[C#]
protected virtual void OnLayout(
   LayoutEventArgs levent
);
[C++]
protected: virtual void OnLayout(
   LayoutEventArgs* levent
);
[JScript]
protected function OnLayout(
   levent : LayoutEventArgs
);

Parameters

levent
New control that was affected since last layout.

See Also

Control Class | Control Members | System.WinForms Namespace