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

GaugeControl.ShowToolTips Property

Gets or sets whether tooltips are enabled for gauges.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v24.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

#Declaration

[DefaultValue(false)]
public bool ShowToolTips { get; set; }

#Property Value

Type Default Description
Boolean false

true if tooltips are enabled for gauges; otherwise, false.

#Remarks

Use the ShowToolTips property to enable tooltips for gauges.

In circular and linear gauges, hovering over a scale displays a tooltip containing the scale’s value. In these gauges, other gauge elements (for instance, a background layer, needle, etc) are typically associated with scales via a corresponding property. Hovering over the elements that are associated with a scale also displays a tooltip containing the scale’s value. By default, tooltips for the elements that are not bound to scales displays the element’s name.

In digital gauges, hovering over the text and background layer displays the tooltip containing the DigitalGauge.Text property’s value.

Tooltips for state indicator gauges display the name of the current state indicator.

You can display custom text in tooltips or format values in a specific manner, by customizing options provided by the BaseGaugeWin.OptionsToolTip object. If these options doesn’t suit your needs, you can customize tooltips dynamically by handling a ToolTipController’s ToolTipController.BeforeShow event. By default, tooltips are managed by the Default ToolTipController. So, you can handle the BeforeShow event provided by this controller.

See Also