System.Windows.Forms.Control.SizeChanged Event

Occurs when the Control.Size property value changes.

Syntax

public event EventHandler SizeChanged

Remarks

It is preferable to use the Control.Layout event to handle custom layouts. The Control.Layout event is raised in response to Control.Resize events, but also in other conditions when layout might need to be applied.

This event is raised if the Control.Size property is changed by either a programmatic modification or user interaction.

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: 1.0.5000.0, 2.0.0.0