HeaderPane
Main
Hide
Share Link
Print

MouseMoveHoverTimer Event, SftTree Class

Occurs when mouse pointer rests on the control.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public event EventHandler MouseMoveHoverTimer;
Public Event MouseMoveHoverTimer As EventHandler

Comments

Occurs when mouse pointer rests on the control.

This event occurs repeatedly while the mouse pointer rests on the control at the interval defined by the SftTree.MouseHoverInterval property.

It is also used internally to automatically expand items based on the SftTree.AutoExpandHover and SftTree.AutoExpandDragDrop properties.

Examples

C#

            DumpValues("MouseLeave", e);
        }

        private void sftTree1_MouseMove(object sender, MouseEventArgs e) {
            // DumpValues("MouseMove", e);  // deliberately suppressed
        }

        private void sftTree1_MouseMoveHoverTimer(object sender, EventArgs e) {
            DumpValues("MouseMoveHoverTimer", e);
        }

        private void sftTree1_MouseMoveTimer(object sender, EventArgs e) {
            DumpValues("MouseMoveTimer", e);
        }

        private void sftTree1_MouseUp(object sender, MouseEventArgs e) {

VB.NET

Private Sub SftTree1_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.MouseLeave
    DumpValues("MouseLeave", e)
End Sub

Private Sub SftTree1_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles SftTree1.MouseMove
    DumpValues("MouseMove", e)
End Sub

Private Sub SftTree1_MouseMoveHoverTimer(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.MouseMoveHoverTimer
    DumpValues("MouseMoveHoverTimer", e)
End Sub

Private Sub SftTree1_MouseMoveTimer(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.MouseMoveTimer
    DumpValues("MouseMoveTimer", e)
End Sub

See Also SftTree Class | Classes | SftTree/NET 3.0