Tesseract Engine Documentation

GameControl Events

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

Public Instance Events

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

Explicit Interface Implementations

IContainerControl.ActivateControl (inherited from ContainerControl)Activates the specified control.
IDropTarget.OnDragDrop (inherited from Control)Raises the DragDrop event.
IDropTarget.OnDragEnter (inherited from Control)Raises the DragEnter event.
IDropTarget.OnDragLeave (inherited from Control)Raises the DragLeave event.
IDropTarget.OnDragOver (inherited from Control)Raises the DragOver event.

See Also

GameControl Class | Nuclex Namespace