Skip to main content
All docs
V23.2

GanttTimelineTaskToolTipShowingEventArgs.Text Property

Gets or sets a regular tooltip for a task displayed on the timeline.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public string Text { get; set; }

Property Value

Type Description
String

The text displayed in a tooltip.

Remarks

The following example demonstrates how to display a regular tooltip for tasks displayed on the timeline:

using DevExpress.XtraGantt;

public Form1() {
  // ...
  ganttControl1.TimelineTaskToolTipShowing += GanttControl1_TimelineTaskToolTipShowing;
}
private void GanttControl1_TimelineTaskToolTipShowing(object sender, GanttTimelineTaskToolTipShowingEventArgs e) {
    e.Text = string.Format("{0}: {1}", e.Node["Name"], e.Node["Description"]);
}
See Also