System.Windows.Forms.Control: Event Members

The events of System.Windows.Forms.Control are listed below. For a list of all members, see the Control Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Events

AutoSizeChanged

This event is not relevant for this class.

BackColorChanged

Occurs when the value of the Control.BackColor property changes.

BackgroundImageChanged

Occurs when the value of the Control.BackgroundImage property changes.

BackgroundImageLayoutChanged

Occurs when the Control.BackgroundImageLayout property changes.

BindingContextChanged

Occurs when the value of the System.Windows.Forms.BindingContext property changes.

CausesValidationChanged

Occurs when the value of the Control.CausesValidation property changes.

ChangeUICues

Occurs when the focus or keyboard user interface (UI) cues change.

Click

Occurs when the control is clicked.

ClientSizeChanged

Occurs when the value of the Control.ClientSize property changes.

ContextMenuChanged

Occurs when the value of the Control.ContextMenu property changes.

ContextMenuStripChanged

Occurs when the value of the Control.ContextMenuStrip property changes.

ControlAdded

Occurs when a new control is added to the System.Windows.Forms.Control.ControlCollection.

ControlRemoved

Occurs when a control is removed from the System.Windows.Forms.Control.ControlCollection.

CursorChanged

Occurs when the value of the Control.Cursor property changes.

DockChanged

Occurs when the value of the Control.Dock property changes.

DoubleClick

Occurs when the control is double-clicked.

DragDrop

Occurs when a drag-and-drop operation is completed.

DragEnter

Occurs when an object is dragged into the control's bounds.

DragLeave

Occurs when an object is dragged out of the control's bounds.

DragOver

Occurs when an object is dragged over the control's bounds.

EnabledChanged

Occurs when the Control.Enabled property value has changed.

Enter

Occurs when the control is entered.

FontChanged

Occurs when the Control.Font property value changes.

ForeColorChanged

Occurs when the Control.ForeColor property value changes.

GiveFeedback

Occurs during a drag operation.

GotFocus

Occurs when the control receives focus.

HandleCreated

Occurs when a handle is created for the control.

HandleDestroyed

Occurs when the control's handle is in the process of being destroyed.

HelpRequested

Occurs when the user requests help for a control.

ImeModeChanged

Occurs when the Control.ImeMode property has changed.

Invalidated

Occurs when a control's display requires redrawing.

KeyDown

Occurs when a key is pressed while the control has focus.

KeyPress

Occurs when a key is pressed while the control has focus.

KeyUp

Occurs when a key is released while the control has focus.

Layout

Occurs when a control should reposition its child controls.

Leave

Occurs when the input focus leaves the control.

LocationChanged

Occurs when the Control.Location property value has changed.

LostFocus

Occurs when the control loses focus.

MarginChanged

Occurs when the control's margin changes.

MouseCaptureChanged

Occurs when the control loses mouse capture.

MouseClick

Occurs when the control is clicked by the mouse.

MouseDoubleClick

Occurs when the control is double clicked by the mouse.

MouseDown

Occurs when the mouse pointer is over the control and a mouse button is pressed.

MouseEnter

Occurs when the mouse pointer enters the control.

MouseHover

Occurs when the mouse pointer rests on the control.

MouseLeave

Occurs when the mouse pointer leaves the control.

MouseMove

Occurs when the mouse pointer is moved over the control.

MouseUp

Occurs when the mouse pointer is over the control and a mouse button is released.

MouseWheel

Occurs when the mouse wheel moves while the control has focus.

Move

Occurs when the control is moved.

PaddingChanged

Occurs when the control's padding changes.

Paint

Occurs when the control is redrawn.

ParentChanged

Occurs when the Control.Parent property value changes.

PreviewKeyDown

Occurs before the Control.KeyDown event when a key is pressed while focus is on this control.

QueryAccessibilityHelp

Occurs when System.Windows.Forms.AccessibleObject is providing help to accessibility applications.

QueryContinueDrag

Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.

RegionChanged

Occurs when the value of the Control.Region property changes.

Resize

Occurs when the control is resized.

RightToLeftChanged

Occurs when the Control.RightToLeft property value changes.

SizeChanged

Occurs when the Control.Size property value changes.

StyleChanged

Occurs when the control style changes.

SystemColorsChanged

Occurs when the system colors change.

TabIndexChanged

Occurs when the Control.TabIndex property value changes.

TabStopChanged

Occurs when the Control.TabStop property value changes.

TextChanged

Occurs when the Control.Text property value changes.

Validated

Occurs when the control is finished validating.

Validating

Occurs when the control is validating.

VisibleChanged

Occurs when the Control.Visible property value changes.