GanttTimelineTaskToolTipShowingEventArgs.Text Property
In This Article
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
#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