Partilhar via


ITextView.MouseHover Event

Definition

Occurs when the mouse has hovered over the same character.

public:
 event EventHandler<Microsoft::VisualStudio::Text::Editor::MouseHoverEventArgs ^> ^ MouseHover;
event EventHandler<Microsoft.VisualStudio.Text.Editor.MouseHoverEventArgs> MouseHover;
member this.MouseHover : EventHandler<Microsoft.VisualStudio.Text.Editor.MouseHoverEventArgs> 
Event MouseHover As EventHandler(Of MouseHoverEventArgs) 

Event Type

Remarks

This event is raised only once, unless either the mouse moves or the text in the view changes.

The delay between the time when the mouse stops moving and the time when the event is raised can be changed by adding a MouseHoverAttribute to the event handler. If no MouseHoverAttribute is specified on the event handler, the delay will be 150ms.

Applies to