New to Telerik UI for WinForms? Start a free 30-day trial

Represents a class that describes the relations used to extract data from a data source to populate a RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewRelationBinding : INotifyPropertyChanged, ICloneable

Inheritance: objectGanttViewRelationBinding

Implements: ICloneableINotifyPropertyChanged

Constructors

Initializes an empty relation binding to be configured through its properties.

C#
public GanttViewRelationBinding()

Initializes the task and link member mappings. Set the data source and task/link list members separately.

C#
public GanttViewRelationBinding(string parentMember, string childMember, string titleMember, string startMember, string endMember, string progressMember, string linkStartMember, string linkEndMember, string linkTypeMember)
Parameters:parentMemberstring

The member path used to identify a task's parent.

childMemberstring

The member path that contains a task's child tasks.

titleMemberstring

The member path that supplies a task's displayed title.

startMemberstring

The member path that supplies a task's start date and time.

endMemberstring

The member path that supplies a task's end date and time.

progressMemberstring

The member path that supplies a task's progress value.

linkStartMemberstring

The member path that identifies a link's start task.

linkEndMemberstring

The member path that identifies a link's end task.

linkTypeMemberstring

The member path that supplies a link's dependency type.

Properties

Gets or sets the child member.

C#
public string ChildMember { get; set; }
Property Value:

The child member.

Gets or sets the data source.

C#
public object DataSource { get; set; }
Property Value:

The data source.

Gets or sets the end member.

C#
public string EndMember { get; set; }
Property Value:

The end member.

Gets or sets the links data member.

C#
[Browsable(true)]
public string LinkDataMember { get; set; }
Property Value:

The data member.

Gets or sets the link end member.

C#
public string LinkEndMember { get; set; }
Property Value:

The link end member.

Gets or sets the link start member.

C#
public string LinkStartMember { get; set; }
Property Value:

The link start member.

Gets or sets the link type member.

C#
public string LinkTypeMember { get; set; }
Property Value:

The link type member.

Gets or sets the parent member.

C#
public string ParentMember { get; set; }
Property Value:

The parent member.

Gets or sets the progress member.

C#
public string ProgressMember { get; set; }
Property Value:

The progress member.

Gets or sets the name of the relation.

C#
public string RelationName { get; set; }
Property Value:

The name of the relation.

Gets or sets the start member.

C#
public string StartMember { get; set; }
Property Value:

The start member.

Gets or sets the tasks data member.

C#
[Browsable(true)]
public string TaskDataMember { get; set; }
Property Value:

The data member.

Gets or sets the title member.

C#
public string TitleMember { get; set; }
Property Value:

The title member.

Methods

Compares the bound data source and task/link member mappings with another relation binding.

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

The object to compare with this binding.

Returns:

bool

true when the configured data source and member mappings match; otherwise, uses base object equality.

Overrides: object.Equals(object)

Returns the base object hash code; it is not calculated from the member mappings compared by Equals(object).

C#
public override int GetHashCode()
Returns:

int

The hash code supplied by the base object implementation.

Overrides: object.GetHashCode()

Raises PropertyChanged with the supplied property name.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

The property name reported to subscribers.

Events

Occurs when a relation-binding value changes; the GanttView binding provider uses this notification to rebuild its bound data.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged