.NET Framework Class Library
UserControl Events

The UserControl type exposes the following members.

Events

  NameDescription
Public eventAutoSizeChangedOccurs when the AutoSize property changes.
Public eventAutoValidateChangedOccurs when the AutoValidate property changes.
Public eventBackColorChangedOccurs when the value of the BackColor property changes. (Inherited from Control.)
Public eventBackgroundImageChangedOccurs when the value of the BackgroundImage property changes. (Inherited from Control.)
Public eventBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes. (Inherited from Control.)
Public eventBindingContextChangedOccurs when the value of the BindingContext property changes. (Inherited from Control.)
Public eventCausesValidationChangedOccurs when the value of the CausesValidation property changes. (Inherited from Control.)
Public eventChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkClickOccurs when the control is clicked. (Inherited from Control.)
Public eventClientSizeChangedOccurs when the value of the ClientSize property changes. (Inherited from Control.)
Public eventContextMenuChangedOccurs when the value of the ContextMenu property changes. (Inherited from Control.)
Public eventContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes. (Inherited from Control.)
Public eventControlAddedOccurs when a new control is added to the Control..::.ControlCollection. (Inherited from Control.)
Public eventControlRemovedOccurs when a control is removed from the Control..::.ControlCollection. (Inherited from Control.)
Public eventCursorChangedOccurs when the value of the Cursor property changes. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public eventDockChangedOccurs when the value of the Dock property changes. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkDoubleClickOccurs when the control is double-clicked. (Inherited from Control.)
Public eventDragDropOccurs when a drag-and-drop operation is completed. (Inherited from Control.)
Public eventDragEnterOccurs when an object is dragged into the control's bounds. (Inherited from Control.)
Public eventDragLeaveOccurs when an object is dragged out of the control's bounds. (Inherited from Control.)
Public eventDragOverOccurs when an object is dragged over the control's bounds. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkEnabledChangedOccurs when the Enabled property value has changed. (Inherited from Control.)
Public eventEnterOccurs when the control is entered. (Inherited from Control.)
Public eventFontChangedOccurs when the Font property value changes. (Inherited from Control.)
Public eventForeColorChangedOccurs when the ForeColor property value changes. (Inherited from Control.)
Public eventGiveFeedbackOccurs during a drag operation. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkGotFocusOccurs when the control receives focus. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkHandleCreatedOccurs when a handle is created for the control. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkHandleDestroyedOccurs when the control's handle is in the process of being destroyed. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkHelpRequestedOccurs when the user requests help for a control. (Inherited from Control.)
Public eventImeModeChangedOccurs when the ImeMode property has changed. (Inherited from Control.)
Public eventInvalidatedOccurs when a control's display requires redrawing. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkKeyDownOccurs when a key is pressed while the control has focus. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkKeyPressOccurs when a key is pressed while the control has focus. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkKeyUpOccurs when a key is released while the control has focus. (Inherited from Control.)
Public eventLayoutOccurs when a control should reposition its child controls. (Inherited from Control.)
Public eventLeaveOccurs when the input focus leaves the control. (Inherited from Control.)
Public eventLoadOccurs before the control becomes visible for the first time.
Public eventLocationChangedOccurs when the Location property value has changed. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkLostFocusOccurs when the control loses focus. (Inherited from Control.)
Public eventMarginChangedOccurs when the control's margin changes. (Inherited from Control.)
Public eventMouseCaptureChangedOccurs when the control loses or gains mouse capture. (Inherited from Control.)
Public eventMouseClickOccurs when the control is clicked by the mouse. (Inherited from Control.)
Public eventMouseDoubleClickOccurs when the control is double clicked by the mouse. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.)
Public eventMouseEnterOccurs when the mouse pointer enters the control. (Inherited from Control.)
Public eventMouseHoverOccurs when the mouse pointer rests on the control. (Inherited from Control.)
Public eventMouseLeaveOccurs when the mouse pointer leaves the control. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkMouseMoveOccurs when the mouse pointer is moved over the control. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkMouseUpOccurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.)
Public eventMouseWheelOccurs when the mouse wheel moves while the control has focus. (Inherited from Control.)
Public eventMoveOccurs when the control is moved. (Inherited from Control.)
Public eventPaddingChangedOccurs when the control's padding changes. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkPaintOccurs when the control is redrawn. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkParentChangedOccurs when the Parent property value changes. (Inherited from Control.)
Public eventPreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.)
Public eventQueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.)
Public eventQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from Control.)
Public eventRegionChangedOccurs when the value of the Region property changes. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkResizeOccurs when the control is resized. (Inherited from Control.)
Public eventRightToLeftChangedOccurs when the RightToLeft property value changes. (Inherited from Control.)
Public eventScrollOccurs when the user or code scrolls through the client area. (Inherited from ScrollableControl.)
Public eventSizeChangedOccurs when the Size property value changes. (Inherited from Control.)
Public eventStyleChangedOccurs when the control style changes. (Inherited from Control.)
Public eventSystemColorsChangedOccurs when the system colors change. (Inherited from Control.)
Public eventTabIndexChangedOccurs when the TabIndex property value changes. (Inherited from Control.)
Public eventTabStopChangedOccurs when the TabStop property value changes. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkTextChangedOverloaded.
Public eventSupported by the .NET Compact FrameworkValidatedOccurs when the control is finished validating. (Inherited from Control.)
Public eventSupported by the .NET Compact FrameworkValidatingOccurs when the control is validating. (Inherited from Control.)
Public eventVisibleChangedOccurs when the Visible property value changes. (Inherited from Control.)
Top
See Also

Reference

Tags :


Page view tracker