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!

DataGrid.OnLayout

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

Parameters

levent
A LayoutEventArgs that contains the event data.

Remarks

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.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace