Skip to main content

GaugeControl.ShowToolTips Property

Gets or sets whether tooltips are enabled for gauges.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v23.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