Export (0) Print
Expand All

UserControl Events

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

Public Events

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

See Also

UserControl Class | System.Windows.Forms Namespace

Show:
© 2014 Microsoft