Skip to main content

GanttControl.TaskToolTipShowing Event

Fires when a tooltip for a task is about to be shown.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

[DXCategory("Events")]
public event GanttTaskToolTipShowingEventHandler TaskToolTipShowing

Event Data

The TaskToolTipShowing event's data class is GanttTaskToolTipShowingEventArgs. The following properties provide information specific to this event:

Property Description
Info Provides view information about the processed task.
Node Gets the processed node.
SuperTip Gets or sets the super tooltip.
Text Gets or sets the text for the regular tooltip.

Example

The code below shows a regular tooltip for a task.

using DevExpress.XtraGantt;

private void ganttControl1_TaskToolTipShowing(object sender, GanttTaskToolTipShowingEventArgs e) {
    e.Text = e.Node.GetText();
}
See Also