System.Windows.Forms.Form.Deactivate Event

Occurs when the form loses focus and is no longer the active form.

Syntax

public event EventHandler Deactivate

Remarks

You can use this event to perform tasks such as updating another window in your application with data from the deactivated form.

For more information about handling events, see [<topic://cpconEventsOverview>].

Requirements

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