Class
RelationInfo

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public class RelationInfo : IEventInfo, IGroupCellCoordinates, IObjectWrapper, IEquatable<RelationInfo>

Inheritance: objectRelationInfo

Implements: IEquatable<RelationInfo>IEventInfoIGroupCellCoordinatesIObjectWrapper

Constructors

RelationInfo(IGanttTask, IDependency, Range<int>, Range<long>)

Declaration

cs-api-definition
public RelationInfo(IGanttTask taskTo, IDependency dependency, Range<int> groupsRange, Range<long> timeRange)

Parameters

taskTo

IGanttTask

dependency

IDependency

groupsRange

Range<int>

timeRange

Range<long>

Properties

AreGroupsReversed

Declaration

cs-api-definition
public bool AreGroupsReversed { get; set; }

Property Value

bool

CellCoordinates

Declaration

cs-api-definition
public Range<int> CellCoordinates { get; }

Property Value

Range<int>

Implements IGroupCellCoordinates.CellCoordinates

Dependency

Declaration

cs-api-definition
public IDependency Dependency { get; }

Property Value

IDependency

IsArrowReversed

Declaration

cs-api-definition
public bool IsArrowReversed { get; set; }

Property Value

bool

IsSameSide

True if the relation is StartStart or EndEnd; false otherwise.

Declaration

cs-api-definition
public bool IsSameSide { get; set; }

Property Value

bool

IsTimeReversed

True if arrow starts from the "left" side of the "left" appointment (i.e. should have curve at this side); otherwise false.

Declaration

cs-api-definition
public bool IsTimeReversed { get; set; }

Property Value

bool

TaskFrom

Declaration

cs-api-definition
public IGanttTask TaskFrom { get; }

Property Value

IGanttTask

TaskTo

Declaration

cs-api-definition
public IGanttTask TaskTo { get; }

Property Value

IGanttTask

TimeRange

Declaration

cs-api-definition
public Range<long> TimeRange { get; }

Property Value

Range<long>

Implements IEventInfo.TimeRange

Methods

Equals(RelationInfo)

Declaration

cs-api-definition
public bool Equals(RelationInfo other)

Parameters

other

RelationInfo

Returns

bool

Implements IEquatable<RelationInfo>.Equals(RelationInfo)

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

GetRelationTimeRange(IDateRange, IDateRange, DependencyType)

Declaration

cs-api-definition
public static Range<long> GetRelationTimeRange(IDateRange from, IDateRange to, DependencyType type)

Parameters

from

IDateRange

to

IDateRange

type

DependencyType

Returns

Range<long>