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
Places the column scrollbar below the task rows and reduces the row viewport to make room for it.
protected override RectangleF ArrangeHScrollBar(ref RectangleF viewElementRect, RectangleF clientRect)
The task-row viewport, adjusted to exclude the scrollbar.
clientRectRectangleFThe text-view client rectangle.
Returns:The rectangle assigned to the column scrollbar, or an empty rectangle when it is collapsed.
Overrides:
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 column header and task rows, repeating the row measurement when scrollbar visibility changes.
Ends the active cell edit when the pointer is pressed on a scrollbar.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event data.
Overrides:
Synchronizes the item elements.
protected virtual void SynchronizeItemElements()
Updates the specified update action.
public void Update(RadGanttViewElement.UpdateActions updateAction)
The update action.
Applies the column scroller's visibility policy; automatic mode hides the bar when the scroll range fits the viewport.
protected virtual void UpdateHScrollbarVisibility()
Updates row and column scroller client sizes and ranges after accounting for scrollbar visibility.
Refreshes the task-row scroll range and resets the scrollbars when the root contains no items.
protected virtual void UpdateScrollers(RadGanttViewElement.UpdateActions updateAction)
The view update action associated with the refresh.