ToolTipOptions Class
In This Article
Contains settings that define how to display tooltips within a chart.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
#Returned By
The ChartControl.ToolTipOptions property returns an instance of ToolTipOptions.
#Remarks
Use the ChartControl.ToolTipOptions property to get access to the ToolTipOptions object.
The following XAML demonstrates how this can be done:
<UserControl x:Class="Tooltip.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/charts"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400" >
<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>
</UserControl>
For more information on tooltips, see the Tooltips topic.
#Inheritance
See Also