Back to Devexpress

PivotFieldTooltipShowingEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-b96cd3d6.md

latest2.7 KB
Original Source

PivotFieldTooltipShowingEventArgs Class

Provides data for the PivotGridControl.FieldTooltipShowing event.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public class PivotFieldTooltipShowingEventArgs :
    EventArgs
vb
Public Class PivotFieldTooltipShowingEventArgs
    Inherits EventArgs

PivotFieldTooltipShowingEventArgs is the data class for the following events:

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

PivotFieldTooltipShowingEventArgs Members

DevExpress.XtraPivotGrid Namespace