Class GanttViewTimelineItemElement
Represents an element that is used in a RadGanttView timeline.
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 GanttViewTimelineItemElement class.
Declaration
public GanttViewTimelineItemElement(GanttViewTimelineDataItem data, GanttViewGraphicalViewElement graphicalViewElement)
Parameters
GanttViewTimelineDataItem
data
The data. |
GanttViewGraphicalViewElement
graphicalViewElement
The graphical view element. |
Properties
BottomElement
Gets the bottom stack element.
Declaration
public GanttViewTimelineItemBottomStackElement BottomElement { get; }
Property Value
GanttViewTimelineItemBottomStackElement
The bottom element. |
Data
Gets the data item for this element.
Declaration
public GanttViewTimelineDataItem Data { get; }
Property Value
GanttViewTimelineDataItem
The data. |
Implements
GraphicalViewElement
Gets the graphical view element that parents this element.
Declaration
public GanttViewGraphicalViewElement GraphicalViewElement { get; }
Property Value
GanttViewGraphicalViewElement
The graphical view element. |
TopElement
Gets the top element.
Declaration
public GanttViewTimelineItemTopElement TopElement { get; }
Property Value
GanttViewTimelineItemTopElement
The top element. |
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
Attach(GanttViewTimelineDataItem, Object)
Called when the displayed data is changed.
Declaration
public void Attach(GanttViewTimelineDataItem data, object context)
Parameters
GanttViewTimelineDataItem
data
The data. |
System.Object
context
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
GanttViewTimelineItemBottomStackElement
|
CreateTimelineItemTopElement()
Creates the timeline item top element.
Declaration
public virtual GanttViewTimelineItemTopElement CreateTimelineItemTopElement()
Returns
GanttViewTimelineItemTopElement
|
Detach()
IsCompatible(GanttViewTimelineDataItem, Object)
Determines whether the specified data is compatible with this element.
Declaration
public bool IsCompatible(GanttViewTimelineDataItem data, object context)
Parameters
GanttViewTimelineDataItem
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Implements
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
Synchronize()
Synchronizes this instance with its data item.
Declaration
public void Synchronize()