Skip to main content

ToolTipController.KeepWhileHovered Property

Gets or sets whether a displayed tooltip remains visible while the mouse cursor keeps moving (without pauses) towards the tooltip and while it hovers the tooltip.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool KeepWhileHovered { get; set; }

Property Value

Type Default Description
Boolean false

true if a tooltip remains displayed while the mouse cursor is over this tooltip; otherwise, false.

Remarks

The KeepWhileHovered and ToolTipController.CloseOnClick properties specify when tooltips are closed and remain visible.

Properties

When the displayed tooltip is auto-hidden

When the displayed tooltip remains visible

KeepWhileHovered=true

CloseOnClick=Default

  • While the cursor is moving.
  • While the cursor is above the tooltip.

KeepWhileHovered=true

CloseOnClick=True

  • After the cursor moves beyond the control’s bounds or tooltip’s bounds and then stops (except for tooltips displayed by the ToolTipController.ShowHint method).
  • While the cursor is moving.
  • While the cursor is above the control or tooltip.

KeepWhileHovered=false

CloseOnClick=Default

KeepWhileHovered=false

CloseOnClick=True

  • After the cursor moves beyond the control’s bounds (except for tooltips displayed by the ToolTipController.ShowHint method) and enters the bounds of another control.
  • While the cursor is above the control or tooltip.
See Also