Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Windows.Forms Namespace
Please Wait
Control Class
Please Wait
Control Events
Please Wait
Switch on low bandwidth view
Collapse All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
Control Events
The
Control
type exposes the following members.
Events
Name
Description
AutoSizeChanged
Infrastructure.
This event is not relevant for this class.
BackColorChanged
Occurs when the value of the
BackColor
property changes.
BackgroundImageChanged
Occurs when the value of the
BackgroundImage
property changes.
BackgroundImageLayoutChanged
Occurs when the
BackgroundImageLayout
property changes.
BindingContextChanged
Occurs when the value of the
BindingContext
property changes.
CausesValidationChanged
Occurs when the value of the
CausesValidation
property changes.
ChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
Click
Occurs when the control is clicked.
ClientSizeChanged
Occurs when the value of the
ClientSize
property changes.
ContextMenuChanged
Occurs when the value of the
ContextMenu
property changes.
ContextMenuStripChanged
Occurs when the value of the
ContextMenuStrip
property changes.
ControlAdded
Occurs when a new control is added to the
Control
.
.
::
.
ControlCollection
.
ControlRemoved
Occurs when a control is removed from the
Control
.
.
::
.
ControlCollection
.
CursorChanged
Occurs when the value of the
Cursor
property changes.
Disposed
Occurs when the component is disposed by a call to the
Dispose
method.
(Inherited from
Component
.)
DockChanged
Occurs when the value of the
Dock
property changes.
DoubleClick
Occurs when the control is double-clicked.
DragDrop
Occurs when a drag-and-drop operation is completed.
DragEnter
Occurs when an object is dragged into the control's bounds.
DragLeave
Occurs when an object is dragged out of the control's bounds.
DragOver
Occurs when an object is dragged over the control's bounds.
EnabledChanged
Occurs when the
Enabled
property value has changed.
Enter
Occurs when the control is entered.
FontChanged
Occurs when the
Font
property value changes.
ForeColorChanged
Occurs when the
ForeColor
property value changes.
GiveFeedback
Occurs during a drag operation.
GotFocus
Occurs when the control receives focus.
HandleCreated
Occurs when a handle is created for the control.
HandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
HelpRequested
Occurs when the user requests help for a control.
ImeModeChanged
Occurs when the
ImeMode
property has changed.
Invalidated
Occurs when a control's display requires redrawing.
KeyDown
Occurs when a key is pressed while the control has focus.
KeyPress
Occurs when a key is pressed while the control has focus.
KeyUp
Occurs when a key is released while the control has focus.
Layout
Occurs when a control should reposition its child controls.
Leave
Occurs when the input focus leaves the control.
LocationChanged
Occurs when the
Location
property value has changed.
LostFocus
Occurs when the control loses focus.
MarginChanged
Occurs when the control's margin changes.
MouseCaptureChanged
Occurs when the control loses or gains mouse capture.
MouseClick
Occurs when the control is clicked by the mouse.
MouseDoubleClick
Occurs when the control is double clicked by the mouse.
MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
MouseEnter
Occurs when the mouse pointer enters the control.
MouseHover
Occurs when the mouse pointer rests on the control.
MouseLeave
Occurs when the mouse pointer leaves the control.
MouseMove
Occurs when the mouse pointer is moved over the control.
MouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
MouseWheel
Occurs when the mouse wheel moves while the control has focus.
Move
Occurs when the control is moved.
PaddingChanged
Occurs when the control's padding changes.
Paint
Occurs when the control is redrawn.
ParentChanged
Occurs when the
Parent
property value changes.
PreviewKeyDown
Occurs before the
KeyDown
event when a key is pressed while focus is on this control.
QueryAccessibilityHelp
Occurs when
AccessibleObject
is providing help to accessibility applications.
QueryContinueDrag
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
RegionChanged
Occurs when the value of the
Region
property changes.
Resize
Occurs when the control is resized.
RightToLeftChanged
Occurs when the
RightToLeft
property value changes.
SizeChanged
Occurs when the
Size
property value changes.
StyleChanged
Occurs when the control style changes.
SystemColorsChanged
Occurs when the system colors change.
TabIndexChanged
Occurs when the
TabIndex
property value changes.
TabStopChanged
Occurs when the
TabStop
property value changes.
TextChanged
Occurs when the
Text
property value changes.
Validated
Occurs when the control is finished validating.
Validating
Occurs when the control is validating.
VisibleChanged
Occurs when the
Visible
property value changes.
Top
See Also
Reference
Control Class
System.Windows.Forms Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement