Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Control Events

The Control type exposes the following members.

  NameDescription
Public event AutoSizeChanged Infrastructure. This event is not relevant for this class.
Public event BackColorChanged Occurs when the value of the BackColor property changes.
Public event BackgroundImageChanged Occurs when the value of the BackgroundImage property changes.
Public event BackgroundImageLayoutChanged Occurs when the BackgroundImageLayout property changes.
Public event BindingContextChanged Occurs when the value of the BindingContext property changes.
Public event CausesValidationChanged Occurs when the value of the CausesValidation property changes.
Public event ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change.
Public event Click Occurs when the control is clicked.
Public event ClientSizeChanged Occurs when the value of the ClientSize property changes.
Public event ContextMenuChanged Occurs when the value of the ContextMenu property changes.
Public event ContextMenuStripChanged Occurs when the value of the ContextMenuStrip property changes.
Public event ControlAdded Occurs when a new control is added to the Control.ControlCollection.
Public event ControlRemoved Occurs when a control is removed from the Control.ControlCollection.
Public event CursorChanged Occurs when the value of the Cursor property changes.
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event DockChanged Occurs when the value of the Dock property changes.
Public event DoubleClick Occurs when the control is double-clicked.
Public event DragDrop Occurs when a drag-and-drop operation is completed.
Public event DragEnter Occurs when an object is dragged into the control's bounds.
Public event DragLeave Occurs when an object is dragged out of the control's bounds.
Public event DragOver Occurs when an object is dragged over the control's bounds.
Public event EnabledChanged Occurs when the Enabled property value has changed.
Public event Enter Occurs when the control is entered.
Public event FontChanged Occurs when the Font property value changes.
Public event ForeColorChanged Occurs when the ForeColor property value changes.
Public event GiveFeedback Occurs during a drag operation.
Public event GotFocus Occurs when the control receives focus.
Public event HandleCreated Occurs when a handle is created for the control.
Public event HandleDestroyed Occurs when the control's handle is in the process of being destroyed.
Public event HelpRequested Occurs when the user requests help for a control.
Public event ImeModeChanged Occurs when the ImeMode property has changed.
Public event Invalidated Occurs when a control's display requires redrawing.
Public event KeyDown Occurs when a key is pressed while the control has focus.
Public event KeyPress Occurs when a key is pressed while the control has focus.
Public event KeyUp Occurs when a key is released while the control has focus.
Public event Layout Occurs when a control should reposition its child controls.
Public event Leave Occurs when the input focus leaves the control.
Public event LocationChanged Occurs when the Location property value has changed.
Public event LostFocus Occurs when the control loses focus.
Public event MarginChanged Occurs when the control's margin changes.
Public event MouseCaptureChanged Occurs when the control loses mouse capture.
Public event MouseClick Occurs when the control is clicked by the mouse.
Public event MouseDoubleClick Occurs when the control is double clicked by the mouse.
Public event MouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed.
Public event MouseEnter Occurs when the mouse pointer enters the control.
Public event MouseHover Occurs when the mouse pointer rests on the control.
Public event MouseLeave Occurs when the mouse pointer leaves the control.
Public event MouseMove Occurs when the mouse pointer is moved over the control.
Public event MouseUp Occurs when the mouse pointer is over the control and a mouse button is released.
Public event MouseWheel Occurs when the mouse wheel moves while the control has focus.
Public event Move Occurs when the control is moved.
Public event PaddingChanged Occurs when the control's padding changes.
Public event Paint Occurs when the control is redrawn.
Public event ParentChanged Occurs when the Parent property value changes.
Public event PreviewKeyDown Occurs before the KeyDown event when a key is pressed while focus is on this control.
Public event QueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications.
Public event QueryContinueDrag Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
Public event RegionChanged Occurs when the value of the Region property changes.
Public event Resize Occurs when the control is resized.
Public event RightToLeftChanged Occurs when the RightToLeft property value changes.
Public event SizeChanged Occurs when the Size property value changes.
Public event StyleChanged Occurs when the control style changes.
Public event SystemColorsChanged Occurs when the system colors change.
Public event TabIndexChanged Occurs when the TabIndex property value changes.
Public event TabStopChanged Occurs when the TabStop property value changes.
Public event TextChanged Occurs when the Text property value changes.
Public event Validated Occurs when the control is finished validating.
Public event Validating Occurs when the control is validating.
Public event VisibleChanged Occurs when the Visible property value changes.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.