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 );