Class
GanttViewTimelineDataItem

Represents a data item for a RadGanttView timeline.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class GanttViewTimelineDataItem

Inheritance: objectGanttViewTimelineDataItem

Constructors

GanttViewTimelineDataItem(DateTime, DateTime, TimeRange, TimeSpan)

Initializes a new instance of the GanttViewTimelineDataItem class.

Declaration

cs-api-definition
public GanttViewTimelineDataItem(DateTime start, DateTime end, TimeRange range, TimeSpan onePixelTime)

Parameters

start

DateTime

The start.

end

DateTime

The end.

range

TimeRange

The range.

onePixelTime

TimeSpan

The one pixel time.

Properties

End

Gets or sets the end date for the item.

Declaration

cs-api-definition
public DateTime End { get; set; }

Property Value

DateTime

The end.

OnePixelTime

Gets or sets how much time a single pixel represents.

Declaration

cs-api-definition
public TimeSpan OnePixelTime { get; set; }

Property Value

TimeSpan

The one pixel time.

Range

Gets or sets the range.

Declaration

cs-api-definition
public TimeRange Range { get; set; }

Property Value

TimeRange

The range.

Start

Gets or sets the start date for the item.

Declaration

cs-api-definition
public DateTime Start { get; set; }

Property Value

DateTime

The start.

Width

Gets the width of this item.

Declaration

cs-api-definition
public float Width { get; }

Property Value

float

The width.