Represents the element that displayes the grid part of a RadGanttView
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewTextViewElement : GanttViewBaseViewElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementScrollViewElement<VirtualizedStackContainer<GanttViewDataItem>>VirtualizedScrollPanel<GanttViewDataItem, GanttViewBaseItemElement>GanttViewBaseViewElementGanttViewTextViewElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GanttViewTextViewElement class.
public GanttViewTextViewElement(RadGanttViewElement ganttView)
The gantt view.
Properties
Gets the column container.
public GanttViewTextViewColumnContainer ColumnContainer { get; }
The column container.
Gets the columns.
public GanttViewTextViewColumnCollection Columns { get; }
The columns.
Gets the column scroller.
public GanttViewTextViewColumnScroller ColumnScroller { get; }
The column scroller.
Gets the first visible column.
public GanttViewTextViewColumn FirstVisibleColumn { get; }
The first visible column.
Gets or sets the indent of the hierarchy rows.
public int Indent { get; set; }
The indent.
Gets the last visible column.
public GanttViewTextViewColumn LastVisibleColumn { get; }
The last visible column.
Methods
Arranges the horizontal scroll bar.
protected override RectangleF ArrangeHScrollBar(ref RectangleF viewElementRect, RectangleF clientRect)
The view element rect.
clientRectRectangleFThe client rect.
Returns:Overrides:
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Columnses the collection changed.
protected virtual void ColumnsCollectionChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Creates the child elements.
protected override void CreateChildElements()
Overrides:
Gets the first visible column.
public GanttViewTextViewColumn GetFirstVisibleColumn()
The first visible column. If there are no visible columns returns null.
Gets the last visible column.
public GanttViewTextViewColumn GetLastVisibleColumn()
The first visible column. If there are no visible columns returns null.
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Synchronizes the item elements.
protected virtual void SynchronizeItemElements()
Updates the specified update action.
public void Update(RadGanttViewElement.UpdateActions updateAction)
The update action.
protected virtual void UpdateHScrollbarVisibility()
protected virtual void UpdateScrollers(RadGanttViewElement.UpdateActions updateAction)