Skip to main content
A newer version of this page is available. .

ToolTipControlInfo.HideHintOnMouseMove Property

Gets or sets whether the shown tooltip hides when an end-user moves the mouse.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public bool HideHintOnMouseMove { get; set; }

Property Value

Type Description
Boolean

A Boolean value specifying whether the shown tooltip hides when an end-user moves the mouse.

Remarks

Use the HideHintOnMouseMove property to specify whether the displayed tooltip is hidden when an end-user moves the mouse. If this property is set to true, the tooltip hides immediately when an end-user starts moving the mouse. If it is set to false, the tooltip does not hide until the mouse pointer leaves the control for which the tooltip is shown.

To prevent a tooltip from being hidden on mouse moving, handle the ToolTipController.GetActiveObjectInfo event, retrieve ToolTipControlInfo object via the ToolTipControllerGetActiveObjectInfoEventArgs.Info property and set the HideHintOnMouseMove property to false.


private void toolTipController1_GetActiveObjectInfo(object sender, DevExpress.Utils.ToolTipControllerGetActiveObjectInfoEventArgs e) {
    e.Info.HideHintOnMouseMove = false;
}
See Also