wpf-devexpress-dot-xpf-dot-charts-73d1cd92.md
Contains settings that define how to display tooltips within a chart.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public class ToolTipOptions :
ChartDependencyObject
Public Class ToolTipOptions
Inherits ChartDependencyObject
The following members return ToolTipOptions objects:
Use the ChartControl.ToolTipOptions property to get access to the ToolTipOptions object.
The following XAML demonstrates how this can be done:
<Window x:Class="Tooltip.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/charts"
Title="MainWindow" Height="350" Width="525" >
<Grid>
<dxc:ChartControl ToolTipEnabled="True" >
<dxc:ChartControl.ToolTipOptions>
<dxc:ToolTipOptions ShowForSeries="True" ShowForPoints="False">
<dxc:ToolTipOptions.ToolTipPosition>
<dxc:ToolTipMousePosition Location="TopLeft" />
</dxc:ToolTipOptions.ToolTipPosition>
</dxc:ToolTipOptions>
</dxc:ChartControl.ToolTipOptions>
</dxc:ChartControl>
</Grid>
</Window>
For more information on tooltips, see the Tooltips topic.
Object DispatcherObject DependencyObject Freezable ChartDependencyObject ToolTipOptions
See Also