Raises the DataGrid.Layout event which repositions controls and updates scroll bars.
[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 );
Raising an event invokes the event-handling method through a delegate. For an overview, see TBD. Notes to Inheritors When overriding OnLayout in a derived class, be sure to call the base class's OnLayout method.
DataGrid Class | DataGrid Members | System.WinForms Namespace