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

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.v19.1.dll

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

  • While the cursor is above the control or tooltip.
See Also