Edit

Share via


Behavior.OnMouseEnter(Glyph) Method

Definition

Called when any mouse-enter message enters the adorner window of the BehaviorService.

public:
 virtual bool OnMouseEnter(System::Windows::Forms::Design::Behavior::Glyph ^ g);
public virtual bool OnMouseEnter (System.Windows.Forms.Design.Behavior.Glyph g);
public virtual bool OnMouseEnter (System.Windows.Forms.Design.Behavior.Glyph? g);
abstract member OnMouseEnter : System.Windows.Forms.Design.Behavior.Glyph -> bool
override this.OnMouseEnter : System.Windows.Forms.Design.Behavior.Glyph -> bool
Public Overridable Function OnMouseEnter (g As Glyph) As Boolean

Parameters

g
Glyph

A Glyph.

Returns

true if the message was handled; otherwise, false.

Remarks

The OnMouseDoubleClick method is called when any mouse-enter message enters the WndProc of the adorner window of the BehaviorService. From here, the message is sent to the appropriate behavior.

When the mouse pointer's location is positively hit-tested with a different Glyph than previous hit tests, this method is called on the Behavior associated with the Glyph.

Applies to

See also