Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttControl.TaskToolTipShowing Event

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.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