windowsforms-devexpress-dot-xtragantt-dot-customdrawtaskeventargs.md
Gets the processed node.
Namespace : DevExpress.XtraGantt
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
public GanttControlNode Node { get; }
Public ReadOnly Property Node As GanttControlNode
| Type | Description |
|---|---|
| GanttControlNode |
An object that specifies the processed node.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Node 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.
{
DashboardFlatDataSourceRow row = gantt.GetDataRecordByNode(e.Node) as DashboardFlatDataSourceRow;
int colorData = (int)flatData.GetValue(flatData.GetColoringColumn().Name, row);
Private Sub Gantt_CustomPrintTask(ByVal sender As Object, ByVal e As DevExpress.XtraGantt.Printing.CustomPrintTaskEventArgs)
Dim row As DashboardFlatDataSourceRow = TryCast(gantt.GetDataRecordByNode(e.Node), DashboardFlatDataSourceRow)
Dim colorData As Integer = DirectCast(flatData.GetValue(flatData.GetColoringColumn().Name, row), Integer)
See Also