ClassGanttGraphicalViewBaseItemElement
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
GanttGraphicalViewBaseItemElement(GanttViewGraphicalViewElement)
Initializes a new instance of the GanttGraphicalViewBaseItemElement class.
Declaration
public GanttGraphicalViewBaseItemElement(GanttViewGraphicalViewElement graphicalViewElement)
Parameters
graphicalViewElement
The graphical view element.
Properties
GraphicalViewElement
Gets the graphical view element.
Declaration
public GanttViewGraphicalViewElement GraphicalViewElement { get; }
Property Value
The graphical view element.
LeftLinkHandleElement
Gets the left link handle element.
Declaration
public GanttViewTaskLinkHandleElement LeftLinkHandleElement { get; }
Property Value
GanttViewTaskLinkHandleElement
The left link handle element.
RightLinkHandleElement
Gets the right link handle element.
Declaration
public GanttViewTaskLinkHandleElement RightLinkHandleElement { get; }
Property Value
GanttViewTaskLinkHandleElement
The right link handle element.
TaskElement
Gets the task element.
Declaration
public GanttGraphicalViewBaseTaskElement TaskElement { get; }
Property Value
GanttGraphicalViewBaseTaskElement
The task element.
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Attach(GanttViewDataItem, object)
Attaches the specified data.
Declaration
public override void Attach(GanttViewDataItem data, object context)
Parameters
data
The data.
context
The context.
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateLeftHandleElement()
Creates the left handle element.
Declaration
protected virtual GanttViewTaskLinkHandleElement CreateLeftHandleElement()
Returns
CreateRightHandleElement()
Creates the right handle element.
Declaration
protected virtual GanttViewTaskLinkHandleElement CreateRightHandleElement()
Returns
CreateTaskElement()
Creates the task element.
Declaration
protected abstract GanttGraphicalViewBaseTaskElement CreateTaskElement()
Returns
Detach()
Detaches this instance.
Declaration
public override void Detach()
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the event.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs instance containing the event data.
Overrides
PaintChildren(IGraphics, Rectangle, float, SizeF, bool)
Paints the children.
Declaration
protected override void PaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale, bool useRelativeTransformation)
Parameters
graphics
The graphics.
clipRectange
The clip rectangle.
angle
The angle.
scale
The scale.
useRelativeTransformation
if set to true [use relative transformation].
Overrides
Synchronize()
Synchronizes this instance with its data item.
Declaration
public override void Synchronize()
Overrides