Class
GroupData

ViewModel that represents a non-intersecting group of timeline dataItems.

Definition

Namespace:Telerik.Windows.Controls.Timeline

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class GroupData : IComparable, IComparable<DateTime>

Inheritance: objectGroupData

Derived Classes: TimelineGroupData

Implements: IComparableIComparable<DateTime>

Constructors

GroupData()

Declaration

cs-api-definition
public GroupData()

Properties

DataItems

Gets or sets the data items.

Declaration

cs-api-definition
public List<TimelineDataItem> DataItems { get; set; }

Property Value

List<TimelineDataItem>

The data items.

EndTicks

Gets or sets the end ticks.

Declaration

cs-api-definition
public long EndTicks { get; set; }

Property Value

long

The end ticks.

RowsCount

Gets or sets the rows count.

Declaration

cs-api-definition
public int RowsCount { get; set; }

Property Value

int

The rows count.

StartTicks

Gets or sets the start ticks.

Declaration

cs-api-definition
public long StartTicks { get; set; }

Property Value

long

The start ticks.

Methods

CompareTo(DateTime)

Compares the current instance with another DateTime and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Declaration

cs-api-definition
public int CompareTo(DateTime other)

Parameters

other

DateTime

A DateTime object to compare with this instance.

Returns

int

Implements IComparable<DateTime>.CompareTo(DateTime)

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Declaration

cs-api-definition
public int CompareTo(object obj)

Parameters

obj

object

An object to compare with this instance.

Returns

int

Implements IComparable.CompareTo(object)

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

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

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()

Operators

operator !=(GroupData, GroupData)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(GroupData groupData1, GroupData groupData2)

Parameters

groupData1

GroupData

The group data1.

groupData2

GroupData

The group data2.

Returns

bool

The result of the operator.

operator <(GroupData, GroupData)

Implements the operator <.

Declaration

cs-api-definition
public static bool operator <(GroupData groupData1, GroupData groupData2)

Parameters

groupData1

GroupData

The group data1.

groupData2

GroupData

The group data2.

Returns

bool

The result of the operator.

operator ==(GroupData, GroupData)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(GroupData groupData1, GroupData groupData2)

Parameters

groupData1

GroupData

The group data1.

groupData2

GroupData

The group data2.

Returns

bool

The result of the operator.

operator >(GroupData, GroupData)

Implements the operator >.

Declaration

cs-api-definition
public static bool operator >(GroupData groupData1, GroupData groupData2)

Parameters

groupData1

GroupData

The group data1.

groupData2

GroupData

The group data2.

Returns

bool

The result of the operator.