Back to Devexpress

ChartControl.ToolTipEnabled Property

wpf-devexpress-dot-xpf-dot-charts-dot-chartcontrol-e30a940f.md

latest2.6 KB
Original Source

ChartControl.ToolTipEnabled Property

Gets or sets a value that specifies whether a tooltip is enabled for a chart.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public bool? ToolTipEnabled { get; set; }
vb
Public Property ToolTipEnabled As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

The value that defines whether tooltips are enabled.

|

Remarks

The ToolTipEnabled property can have the following values:

|

Value

|

Description

| | --- | --- | |

null

|

The tooltip state (enabled/disabled) is automatically determined based on the chart diagram type.

| |

true

|

The tooltip is always enabled.

| |

false

|

The tooltip is always disabled.

|

Use the ToolTipEnabled property to activate (deactivate) a tooltip at the level of a ChartControl.

ToolTipEnabled=TrueToolTipEnabled=False

The ChartControl.ToolTipOptions property stores the settings that allow you to customize the tooltip appearance and position on a diagram.

To change the tooltip content for a specific series, use the Series.ToolTipPointPattern property. Use the Series.ToolTipPointTemplate property to fine-tune tooltip appearance.

Refer to the Tooltip topic for more information on how to use a tooltip.

See Also

ChartControl Class

ChartControl Members

DevExpress.Xpf.Charts Namespace