Shape Events

Include Protected Members
Include Inherited Members

The Shape type exposes the following members.

Events

  Name Description
Public event ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change.
Public event Click Occurs when the shape is clicked.
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 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 DoubleClick Occurs when the shape is double-clicked.
Public event EnabledChanged Occurs when the Enabled property value has changed.
Public event Enter Occurs when the shape is entered.
Public event GotFocus Occurs when the shape receives focus.
Public event Invalidated Occurs when a shape's display requires redrawing.
Public event KeyDown Occurs when a key is pressed and the shape has focus.
Public event KeyPress Occurs when a key is pressed and the shape has focus.
Public event KeyUp Occurs when a key is released and the shape has focus.
Public event Leave Occurs when the input focus leaves the shape.
Public event LostFocus Occurs when the shape loses focus.
Public event MouseClick Occurs when the shape is clicked by the mouse.
Public event MouseDoubleClick Occurs when the shape is double-clicked by the mouse.
Public event MouseDown Occurs when the mouse pointer is over the shape and a mouse button is pressed.
Public event MouseEnter Occurs when the mouse pointer enters the shape.
Public event MouseHover Occurs when the mouse pointer rests on the shape.
Public event MouseLeave Occurs when the mouse pointer leaves the shape.
Public event MouseMove Occurs when the mouse pointer is moved over the shape.
Public event MouseUp Occurs when the mouse pointer is over the shape and a mouse button is released.
Public event MouseWheel Occurs when the mouse wheel moves and the shape has focus.
Public event Move Occurs when the shape is moved.
Public event Paint Occurs when the shape 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 and focus is on the shape.
Public event QueryAccessibilityHelp Occurs when an AccessibleObject is providing Help to accessibility applications.
Public event RegionChanged Occurs when the value of the Region property changes.
Public event VisibleChanged Occurs when the Visible property value changes.

Top

See Also

Reference

Shape Class

Microsoft.VisualBasic.PowerPacks Namespace