Progress® Telerik® Reporting R3 2017

ReportViewerBaseViewerToolTipOpening Event

Occurs when the tooltip, associated with a report item, is being opened

Namespace:  Telerik.ReportViewer.WinForms
Assembly:  Telerik.ReportViewer.WinForms (in Telerik.ReportViewer.WinForms.dll)

Syntax

public event ToolTipOpeningEventHandler ViewerToolTipOpening

Value

Type: Telerik.ReportViewer.CommonToolTipOpeningEventHandler

Examples

This example illustrates how to wire the event, cancel tooltip showing and change tooltip's title and text.
private void reportViewer1_ViewerToolTipOpening(object sender, Telerik.ReportViewer.Common.ToolTipOpeningEventArgs args)
{
    if (args.ToolTip.Title.Contains("DoNotShow"))
    {
        args.Cancel = true;
    }
    else
    {
        args.ToolTip.Title = "The tooltip title is changed!";
        args.ToolTip.Text += " (changed)";
    }
}

See Also