Represents the base item element for all items inside the GanttViewGraphicalViewElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class GanttGraphicalViewBaseItemElement : GanttViewBaseItemElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<GanttViewDataItem>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGanttViewVisualElementGanttViewBaseItemElementGanttGraphicalViewBaseItemElement...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the GanttGraphicalViewBaseItemElement class.
public GanttGraphicalViewBaseItemElement(GanttViewGraphicalViewElement graphicalViewElement)
The graphical view element.
Properties
Gets the graphical view element.
public GanttViewGraphicalViewElement GraphicalViewElement { get; }
The graphical view element.
Gets the left link handle element.
public GanttViewTaskLinkHandleElement LeftLinkHandleElement { get; }
The left link handle element.
Gets the right link handle element.
public GanttViewTaskLinkHandleElement RightLinkHandleElement { get; }
The right link handle element.
Gets the task element.
public GanttGraphicalViewBaseTaskElement TaskElement { get; }
The task element.
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Attaches the specified data.
public override void Attach(GanttViewDataItem data, object context)
The data.
contextobjectThe context.
Overrides:
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Creates the left handle element.
protected virtual GanttViewTaskLinkHandleElement CreateLeftHandleElement()
Creates the right handle element.
protected virtual GanttViewTaskLinkHandleElement CreateRightHandleElement()
Creates the task element.
protected abstract GanttGraphicalViewBaseTaskElement CreateTaskElement()
Detaches this instance.
public override void Detach()
Overrides:
Initializes the fields.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Raises the event.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs instance containing the event data.
Overrides:
Paints the children.
protected override void PaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale, bool useRelativeTransformation)
The graphics.
clipRectangeRectangleThe clip rectangle.
anglefloatThe angle.
scaleSizeFThe scale.
useRelativeTransformationboolif set to true [use relative transformation].
Overrides:
Synchronizes this instance with its data item.
public override void Synchronize()
Overrides: