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!

RichControl.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]
Overrides Protected Sub OnLayout( _
   ByVal levent As LayoutEventArgs _
)
[C#]
protected override void OnLayout(
   LayoutEventArgs levent
);
[C++]
protected: override void OnLayout(
   LayoutEventArgs* levent
);
[JScript]
protected override function OnLayout(
   levent : LayoutEventArgs
);

Parameters

levent
New control that was affected since last layout.

See Also

RichControl Class | RichControl Members | System.WinForms Namespace