windowsforms-devexpress-dot-xtragantt-dot-customtaskdisplaytexteventargs-89096e2e.md
Gets or sets the text displayed to the right of the task’s bar.
Namespace : DevExpress.XtraGantt
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
public string RightText { get; set; }
Public Property RightText As String
| Type | Description |
|---|---|
| String |
A String value that specifies the text displayed to the right of the task’s bar.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RightText property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
var row = gantt.GetDataRecordByNode(e.Node) as DashboardFlatDataSourceRow;
e.RightText = flatData.GetDisplayText(dashboardItem.Metadata.Text.UniqueId, row);
}
Dim row = TryCast(gantt.GetDataRecordByNode(e.Node), DashboardFlatDataSourceRow)
e.RightText = flatData.GetDisplayText(dashboardItem.Metadata.Text.UniqueId, row)
End If
See Also
CustomTaskDisplayTextEventArgs Class