All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttControl.TaskToolTipShowing Event

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v20.1.dll

Declaration

[DXCategory("Events")]
public event GanttTaskToolTipShowingEventHandler TaskToolTipShowing
<DXCategory("Events")>
Public Event TaskToolTipShowing As GanttTaskToolTipShowingEventHandler

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.

Examples

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