Behavior.OnMouseEnter(Glyph) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for