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

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.2.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