System.Windows.Forms.Design.Behavior.Behavior Members

The members of System.Windows.Forms.Design.Behavior.Behavior are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Public Properties

[read-only]
CursorSystem.Windows.Forms.Cursor.

Gets the cursor that should be displayed for this behavior.

[read-only]
DisableAllCommandsbool.

Gets a value indicating whether System.ComponentModel.Design.MenuCommand objects should be disabled.

Public Methods

FindCommand(System.ComponentModel.Design.CommandID) : System.ComponentModel.Design.MenuCommand

Intercepts commands.

OnDragDrop(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.DragEventArgs)

Permits custom drag-and-drop behavior.

OnDragEnter(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.DragEventArgs)

Permits custom drag-enter behavior.

OnDragLeave(System.Windows.Forms.Design.Behavior.Glyph, EventArgs)

Permits custom drag-leave behavior.

OnDragOver(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.DragEventArgs)

Permits custom drag-over behavior.

OnGiveFeedback(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.GiveFeedbackEventArgs)

Permits custom drag-and-drop feedback behavior.

OnLoseCapture(System.Windows.Forms.Design.Behavior.Glyph, EventArgs)

Called by the adorner window when it loses mouse capture.

OnMouseDoubleClick(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.MouseButtons, System.Drawing.Point) : bool

Called when any double-click message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseDown(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.MouseButtons, System.Drawing.Point) : bool

Called when any mouse-down message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseEnter(System.Windows.Forms.Design.Behavior.Glyph) : bool

Called when any mouse-enter message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseHover(System.Windows.Forms.Design.Behavior.Glyph, System.Drawing.Point) : bool

Called when any mouse-hover message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseLeave(System.Windows.Forms.Design.Behavior.Glyph) : bool

Called when any mouse-leave message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseMove(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.MouseButtons, System.Drawing.Point) : bool

Called when any mouse-move message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnMouseUp(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.MouseButtons) : bool

Called when any mouse-up message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

OnQueryContinueDrag(System.Windows.Forms.Design.Behavior.Glyph, System.Windows.Forms.QueryContinueDragEventArgs)

Sends this drag-and-drop event from the adorner window to the appropriate System.Windows.Forms.Design.Behavior.Behavior or hit-tested System.Windows.Forms.Design.Behavior.Glyph.