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

Represents a data item for a RadGanttView timeline.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewTimelineDataItem

Inheritance: objectGanttViewTimelineDataItem

Constructors

Initializes a new instance of the GanttViewTimelineDataItem class.

C#
public GanttViewTimelineDataItem(DateTime start, DateTime end, TimeRange range, TimeSpan onePixelTime)
Parameters:startDateTime

The start.

endDateTime

The end.

rangeTimeRange

The range.

onePixelTimeTimeSpan

The one pixel time.

Properties

Gets or sets the end date for the item.

C#
public DateTime End { get; set; }
Property Value:

The end.

Gets or sets how much time a single pixel represents.

C#
public TimeSpan OnePixelTime { get; set; }
Property Value:

The one pixel time.

Gets or sets the range.

C#
public TimeRange Range { get; set; }
Property Value:

The range.

Gets or sets the start date for the item.

C#
public DateTime Start { get; set; }
Property Value:

The start.

Gets the width of this item.

C#
public float Width { get; }
Property Value:

The width.