'Declaration Public Event TooltipShowing As EventHandler(Of TooltipShowingEventArgs)
public event EventHandler<TooltipShowingEventArgs> TooltipShowing
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.
Property | Description |
---|---|
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. |
private void RevealView_TooltipShowing(object sender, TooltipShowingEventArgs e) { var vizTitle = e.Visualization.Title; if(vizTitle == "noNeedForTooltipsHere") { e.Cancel = true; } }
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