ClassGanttViewTextViewElement
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
GanttViewTextViewElement(RadGanttViewElement)
Initializes a new instance of the GanttViewTextViewElement class.
Declaration
public GanttViewTextViewElement(RadGanttViewElement ganttView)
Parameters
ganttView
The gantt view.
Properties
ColumnContainer
Gets the column container.
Declaration
public GanttViewTextViewColumnContainer ColumnContainer { get; }
Property Value
GanttViewTextViewColumnContainer
The column container.
ColumnScroller
Gets the column scroller.
Declaration
public GanttViewTextViewColumnScroller ColumnScroller { get; }
Property Value
GanttViewTextViewColumnScroller
The column scroller.
Columns
Gets the columns.
Declaration
public GanttViewTextViewColumnCollection Columns { get; }
Property Value
GanttViewTextViewColumnCollection
The columns.
FirstVisibleColumn
Gets the first visible column.
Declaration
public GanttViewTextViewColumn FirstVisibleColumn { get; }
Property Value
The first visible column.
Indent
Gets or sets the indent of the hierarchy rows.
LastVisibleColumn
Gets the last visible column.
Declaration
public GanttViewTextViewColumn LastVisibleColumn { get; }
Property Value
The last visible column.
Methods
ArrangeHScrollBar(ref RectangleF, RectangleF)
Arranges the horizontal scroll bar.
Declaration
protected override RectangleF ArrangeHScrollBar(ref RectangleF viewElementRect, RectangleF clientRect)
Parameters
viewElementRect
The view element rect.
clientRect
The client rect.
Returns
Overrides
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
ColumnsCollectionChanged(NotifyCollectionChangedEventArgs)
Columnses the collection changed.
Declaration
protected virtual void ColumnsCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
CreateChildElements()
Creates the child elements.
Declaration
protected override void CreateChildElements()
Overrides
GetFirstVisibleColumn()
Gets the first visible column.
Declaration
public GanttViewTextViewColumn GetFirstVisibleColumn()
Returns
The first visible column. If there are no visible columns returns null.
GetLastVisibleColumn()
Gets the last visible column.
Declaration
public GanttViewTextViewColumn GetLastVisibleColumn()
Returns
The first visible column. If there are no visible columns returns null.
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
SynchronizeItemElements()
Synchronizes the item elements.
Declaration
protected virtual void SynchronizeItemElements()
Update(UpdateActions)
Updates the specified update action.
Declaration
public void Update(RadGanttViewElement.UpdateActions updateAction)
Parameters
updateAction
RadGanttViewElement.UpdateActions
The update action.
UpdateHScrollbarVisibility()
Declaration
protected virtual void UpdateHScrollbarVisibility()
UpdateOnMeasure(SizeF)
Updates on measure.
UpdateScrollers(UpdateActions)
Declaration
protected virtual void UpdateScrollers(RadGanttViewElement.UpdateActions updateAction)
Parameters
updateAction