Skip to main content
All docs
V24.1

GanttControl.GetDependencyDataRow(Int32, Int32) Method

Returns a DataRow in the bound DataTable that contains data for the specified dependency.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.1.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public DataRow GetDependencyDataRow(
    int predecessorNodeId,
    int successorNodeId
)

Parameters

Name Type Description
predecessorNodeId Int32

An integer value that specifies the predecessor node’s Id property.

successorNodeId Int32

An integer value that specifies the successor node’s Id property.

Returns

Type Description
DataRow

An object that specifies a row of data in a DataTable.

Remarks

Use the following methods to get an object that contains data for a specific dependency:

To specify the node in the method’s parameter, use the node’s Id property value.

The SetDependency(GanttControlNode, GanttControlNode, DependencyType, TimeSpan) method allows you to specify a dependency in code.

You can also use the following methods to get an object that contains data for a specific node:

See Also