Class GanttViewTimelineElementProvider
Represents the provider that creates elements for the timeline of a RadGanttView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewTimelineElementProvider : BaseVirtualizedElementProvider<GanttViewTimelineDataItem>, IVirtualizedElementProvider<GanttViewTimelineDataItem>
Constructors
GanttViewTimelineElementProvider(GanttViewGraphicalViewElement)
Initializes a new instance of the GanttViewTimelineElementProvider class.
Declaration
public GanttViewTimelineElementProvider(GanttViewGraphicalViewElement owner)
Parameters
GanttViewGraphicalViewElement
owner
The owner. |
Properties
Owner
Gets the GanttViewGraphicalViewElement that is the owner of this provider.
Declaration
public GanttViewGraphicalViewElement Owner { get; }
Property Value
GanttViewGraphicalViewElement
The owner. |
Methods
CreateElement(GanttViewTimelineDataItem, Object)
Creates a new element.
Declaration
public override IVirtualizedElement<GanttViewTimelineDataItem> CreateElement(GanttViewTimelineDataItem data, object context)
Parameters
GanttViewTimelineDataItem
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GanttViewTimelineDataItem>
|
Overrides
GetElementSize(GanttViewTimelineDataItem)
Gets the size of the element for a given item.
Declaration
public override SizeF GetElementSize(GanttViewTimelineDataItem item)
Parameters
GanttViewTimelineDataItem
item
The item. |
Returns
System.Drawing.SizeF
|
Overrides
OnItemElementCreating(GanttViewTimelineDataItem)
Called when a new item element is created.
Declaration
protected virtual GanttViewTimelineItemElement OnItemElementCreating(GanttViewTimelineDataItem item)
Parameters
GanttViewTimelineDataItem
item
The item. |
Returns
GanttViewTimelineItemElement
|