Class GanttViewVirtualizedElementProvider
Represetns the element provider used by the virtualized view elements for creating visual item elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewVirtualizedElementProvider : VirtualizedPanelElementProvider<GanttViewDataItem, GanttViewBaseItemElement>, IVirtualizedElementProvider<GanttViewDataItem>
Constructors
GanttViewVirtualizedElementProvider(GanttViewBaseViewElement)
Initializes a new instance of the GanttViewVirtualizedElementProvider class.
Declaration
public GanttViewVirtualizedElementProvider(GanttViewBaseViewElement owner)
Parameters
GanttViewBaseViewElement
owner
The owner. |
Methods
CreateElement(GanttViewDataItem, Object)
Creates an element for the given data opbecj in the given context.
Declaration
public override IVirtualizedElement<GanttViewDataItem> CreateElement(GanttViewDataItem data, object context)
Parameters
GanttViewDataItem
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GanttViewDataItem>
|
Overrides
GetElementSize(GanttViewDataItem)
Gets the size of the element based on the given data item.
Declaration
public override SizeF GetElementSize(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The item. |
Returns
System.Drawing.SizeF
|
Overrides
OnItemElementCreating(GanttViewDataItem)
Called when a new item element is created.
Declaration
protected virtual GanttViewBaseItemElement OnItemElementCreating(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The item. |
Returns
GanttViewBaseItemElement
|
ShouldUpdate(IVirtualizedElement<GanttViewDataItem>, GanttViewDataItem, Object)
Declaration
public override bool ShouldUpdate(IVirtualizedElement<GanttViewDataItem> element, GanttViewDataItem data, object context)
Parameters
IVirtualizedElement<GanttViewDataItem>
element
|
GanttViewDataItem
data
|
System.Object
context
|
Returns
System.Boolean
|