Skip to main content
All docs
V24.2

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

GanttTimelineTaskToolTipShowingEventArgs.Text Property

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

Namespace: DevExpress.XtraGantt

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