System.Windows.Forms.Form.ResizeBegin Event

Occurs when a form enters resizing mode.

Syntax

public event EventHandler ResizeBegin

Remarks

The Form.ResizeBegin event is raised when the user begins to resize a form, typically by clicking and dragging one of the borders or the sizing grip located on the lower-right corner of the form. This action puts the form into a modal sizing loop until the resize operation is completed. Typically, the following set of events occurs during a resize operation:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]
Note:

Just clicking without dragging on a border or resizing grip will generate the Form.ResizeBegin and Form.ResizeEnd events without any intermediate Control.Resize and Control.SizeChanged event pairs.

The Form.ResizeBegin and Form.ResizeEnd pair of events is also raised when the user moves the form, typically by clicking and dragging on the caption bar. These events are not generated by programmatic manipulation of the form, for example by changing the Form.Size or Control.Location properties.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0