Class GanttViewTimelineItemElement
Represents an element that is used in a Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewTimelineItemElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<GanttViewTimelineDataItem>
Constructors
GanttViewTimelineItemElement(GanttViewTimelineDataItem, GanttViewGraphicalViewElement)
Initializes a new instance of the Gantt
Declaration
public GanttViewTimelineItemElement(GanttViewTimelineDataItem data, GanttViewGraphicalViewElement graphicalViewElement)
Parameters
Gantt The data. |
Gantt The graphical view element. |
Properties
BottomElement
Gets the bottom stack element.
Declaration
public GanttViewTimelineItemBottomStackElement BottomElement { get; }
Property Value
Gantt The bottom element. |
Data
Gets the data item for this element.
Declaration
public GanttViewTimelineDataItem Data { get; }
Property Value
Gantt The data. |
Implements
GraphicalViewElement
Gets the graphical view element that parents this element.
Declaration
public GanttViewGraphicalViewElement GraphicalViewElement { get; }
Property Value
Gantt The graphical view element. |
TopElement
Gets the top element.
Declaration
public GanttViewTimelineItemTopElement TopElement { get; }
Property Value
Gantt The top element. |
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
Attach(GanttViewTimelineDataItem, Object)
Called when the displayed data is changed.
Declaration
public void Attach(GanttViewTimelineDataItem data, object context)
Parameters
Gantt The data. |
System. The context. |
Implements
CalculateItems()
Calculates the items that will be displayed in the timeline.
Declaration
protected virtual void CalculateItems()
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateTimelineItemBottomStackElement()
Creates the timeline item bottom stack element.
Declaration
public virtual GanttViewTimelineItemBottomStackElement CreateTimelineItemBottomStackElement()
Returns
CreateTimelineItemTopElement()
Creates the timeline item top element.
Declaration
public virtual GanttViewTimelineItemTopElement CreateTimelineItemTopElement()
Returns
Detach()
IsCompatible(GanttViewTimelineDataItem, Object)
Determines whether the specified data is compatible with this element.
Declaration
public bool IsCompatible(GanttViewTimelineDataItem data, object context)
Parameters
Gantt The data. |
System. The context. |
Returns
System.
|
Implements
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
Synchronize()
Synchronizes this instance with its data item.
Declaration
public void Synchronize()