Skip to main content
All docs
V25.1
  • GanttTimelineTaskToolTipShowingEventArgs.Text Property

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

    Namespace: DevExpress.XtraGantt

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