This documentation is archived and is not being maintained.

DataGrid.OnResize Method

Raises the Resize event.

[Visual Basic]
Overrides Protected Sub OnResize( _
   ByVal e As EventArgs _
protected override void OnResize(
 EventArgs e
protected: void OnResize(
 EventArgs* e
protected override function OnResize(
   e : EventArgs


An EventArgs that contains the event data.


Raising an event invokes the event handler through a delegate. For an overview, see Raising an Event.

Notes to Inheritors:  When overriding OnResize in a derived class, be sure to call the base class's OnResize method.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataGrid Class | DataGrid Members | System.Windows.Forms Namespace