Skip to main content
A newer version of this page is available. .

PivotFieldTooltipShowingEventArgs Class

Provides data for the PivotGridControl.FieldTooltipShowing event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public class PivotFieldTooltipShowingEventArgs :
    EventArgs

Remarks

The PivotGridControl.FieldTooltipShowing event occurs when a tooltip is about to be invoked, e.g. when an end-user hovers with the mouse over a trimmed caption. This event allows you to cancel invoking the tooltip, or specify custom text to be displayed within.

You can obtain the coordinates of the point where the tooltip is to be invoked via the event parameter’s PivotFieldTooltipShowingEventArgs.Point property. Use the PivotFieldTooltipShowingEventArgs.HitInfo property to obtain more information about this point (e.g. which visual element is located there).

To specify custom text for the tooltip, use the PivotFieldTooltipShowingEventArgs.Text property. Initially, this property contains the default tooltip string. Use the event parameter’s PivotFieldTooltipShowingEventArgs.ShowTooltip property to specify whether to invoke the tooltip.

Inheritance

Object
EventArgs
PivotFieldTooltipShowingEventArgs
See Also