Skip to main content

OptionsToolTip.TooltipTitleFormat Property

Gets or sets the format used to generate a tooltip’s title. This property is in effect if the OptionsToolTip.TooltipTitle property is set to an empty string.

Namespace: DevExpress.XtraGauges.Win.Base

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

NuGet Package: DevExpress.Win.Gauges

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
public string TooltipTitleFormat { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the format to generate a tooltip’s title.

Property Paths

You can access this nested property as listed below:

Object Type Path to TooltipTitleFormat
BaseGaugeWin
.OptionsToolTip .TooltipTitleFormat

Remarks

Tooltips are enabled if the GaugeControl.ShowToolTips property is set to true.

You can use the TooltipTitleFormat property to specify the format for generating a tooltip’s title. The format string can contain custom text and placeholders used to insert a gauge element’s name and value. The following placeholders are supported:

Placeholder

Description

{0}

Represents the name of the element being hovered over.

{1}

Represents the value/text of the current element.

Numeric values can be formatted as described in Composite Formatting.

It’s also possible to specify a tooltip’s title directly via the OptionsToolTip.TooltipTitle property. If any string is assigned to this property, the TooltipTitleFormat property is ignored.

See Also