New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class RelationInfo : IEventInfo, IGroupCellCoordinates, IObjectWrapper, IEquatable<RelationInfo>

Inheritance: objectRelationInfo

Implements: IEquatable<RelationInfo>IEventInfoIGroupCellCoordinatesIObjectWrapper

Constructors

C#
public RelationInfo(IGanttTask taskTo, IDependency dependency, Range<int> groupsRange, Range<long> timeRange)
Parameters:taskToIGanttTaskdependencyIDependencygroupsRangeRange<int>timeRangeRange<long>

Properties

C#
public bool AreGroupsReversed { get; set; }
C#
public Range<int> CellCoordinates { get; }

Implements: IGroupCellCoordinates.CellCoordinates

C#
public IDependency Dependency { get; }
C#
public bool IsArrowReversed { get; set; }

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

C#
public bool IsSameSide { get; set; }

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

C#
public bool IsTimeReversed { get; set; }
C#
public IGanttTask TaskFrom { get; }
C#
public IGanttTask TaskTo { get; }
C#
public Range<long> TimeRange { get; }

Implements: IEventInfo.TimeRange

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public bool Equals(RelationInfo other)
Parameters:otherRelationInfoReturns:

bool

Implements: IEquatable<RelationInfo>.Equals(RelationInfo)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

C#
public static Range<long> GetRelationTimeRange(IDateRange from, IDateRange to, DependencyType type)
Parameters:fromIDateRangetoIDateRangetypeDependencyTypeReturns:

Range<long>