Version

TooltipShowing Event

Event fired when the user hovers over a visualization and a tooltip is about to show up. Cancel the event to disable to rendering of the tooltip.
Syntax
'Declaration
 
Public Event TooltipShowing As EventHandler(Of TooltipShowingEventArgs)
public event EventHandler<TooltipShowingEventArgs> TooltipShowing
Event Data

The event handler receives an argument of type TooltipShowingEventArgs containing data related to this event. The following TooltipShowingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
Cell The cell that tooltip would be displayed for.
Row The row containing the cell that needs tooltip displayed. This can be used to get the values of other cells in the same row, for example to get the CustomerId even if the cell clicked was "Sales Amount".
Visualization The visualization for which the tooltip will be displayed for.
Example
private void RevealView_TooltipShowing(object sender, TooltipShowingEventArgs e)
{
    var vizTitle = e.Visualization.Title;
    if(vizTitle == "noNeedForTooltipsHere")
    {
        e.Cancel = true;
    }
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also