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

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool KeepWhileHovered { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property KeepWhileHovered As Boolean

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