Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Control Events

The events of the Control class are listed here. For a complete list of Control class members, see the Control Members topic.

Public Events

public eventBackColorChanged Occurs when the value of the BackColor property changes.
public eventBackgroundImageChanged Occurs when the value of the BackgroundImage property changes.
public eventBindingContextChanged Occurs when the value of the BindingContext property changes.
public eventCausesValidationChanged Occurs when the value of the CausesValidation property changes.
public eventChangeUICues Occurs when the focus or keyboard user interface (UI) cues change.
public eventClick Occurs when the control is clicked.
public eventContextMenuChanged Occurs when the value of the ContextMenu property changes.
public eventControlAdded Occurs when a new control is added to the Control.ControlCollection.
public eventControlRemoved Occurs when a control is removed from the Control.ControlCollection.
public eventCursorChanged Occurs when the value of the Cursor property changes.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDockChanged Occurs when the value of the Dock property changes.
public eventDoubleClick Occurs when the control is double-clicked.
public eventDragDrop Occurs when a drag-and-drop operation is completed.
public eventDragEnter Occurs when an object is dragged into the control's bounds.
public eventDragLeave Occurs when an object is dragged out of the control's bounds.
public eventDragOver Occurs when an object is dragged over the control's bounds.
public eventEnabledChanged Occurs when the Enabled property value has changed.
public eventEnter Occurs when the control is entered.
public eventFontChanged Occurs when the Font property value changes.
public eventForeColorChanged Occurs when the ForeColor property value changes.
public eventGiveFeedback Occurs during a drag operation.
public eventGotFocus Occurs when the control receives focus.
public eventHandleCreated Occurs when a handle is created for the control.
public eventHandleDestroyed Occurs when the control's handle is in the process of being destroyed.
public eventHelpRequested Occurs when the user requests help for a control.
public eventImeModeChanged Occurs when the ImeMode property has changed.
public eventInvalidated Occurs when a control's display requires redrawing.
public eventKeyDown Occurs when a key is pressed while the control has focus.
public eventKeyPress Occurs when a key is pressed while the control has focus.
public eventKeyUp Occurs when a key is released while the control has focus.
public eventLayout Occurs when a control should reposition its child controls.
public eventLeave Occurs when the input focus leaves the control.
public eventLocationChanged Occurs when the Location property value has changed.
public eventLostFocus Occurs when the control loses focus.
public eventMouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed.
public eventMouseEnter Occurs when the mouse pointer enters the control.
public eventMouseHover Occurs when the mouse pointer hovers over the control.
public eventMouseLeave Occurs when the mouse pointer leaves the control.
public eventMouseMove Occurs when the mouse pointer is moved over the control.
public eventMouseUp Occurs when the mouse pointer is over the control and a mouse button is released.
public eventMouseWheel Occurs when the mouse wheel moves while the control has focus.
public eventMove Occurs when the control is moved.
public eventPaint Occurs when the control is redrawn.
public eventParentChanged Occurs when the Parent property value changes.
public eventQueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications.
public eventQueryContinueDrag Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.
public eventResize Occurs when the control is resized.
public eventRightToLeftChanged Occurs when the RightToLeft property value changes.
public eventSizeChanged Occurs when the Size property value changes.
public eventStyleChanged Occurs when the control style changes.
public eventSystemColorsChanged Occurs when the system colors change.
public eventTabIndexChanged Occurs when the TabIndex property value changes.
public eventTabStopChanged Occurs when the TabStop property value changes.
public eventTextChanged Occurs when the Text property value changes.
public eventValidated Occurs when the control is finished validating.
public eventValidating Occurs when the control is validating.
public eventVisibleChanged Occurs when the Visible property value changes.

See Also

Control Class | System.Windows.Forms Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.