Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolTipControlInfo.HideHintOnMouseMove Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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