Method OnResize
OnResize(EventArgs)
Called when this window is resized.
protected override void OnResize(EventArgs e)
Parameters
e
EventArgsNot used.
Remarks
You will typically wish to update your viewport whenever the window is resized. See the Viewport(int, int, int, int) method.