New to Telerik UI for WinForms? Download free 30-day trial

Properties

Property Description
Links Gets the collection of links.
Items Gets the collection of task items.
Columns Gets the collection of columns shown in the text element
Ratio Gets or sets the ratio between the text view and the graphical view.
ItemHeight Gets or sets the height of the items.
HeaderHeight Gets or sets the height of the header row and the timeline container.
SplitterWidth Gets or sets the width of the splitter.
IsEditing Gets a value indicating whether this instance is in edit mode.
AllowSummaryEditing Gets or sets a value indicating whether summary items are editable by the user or their value is auto-calculated from their sub items.
SelectedItem Gets or sets the selected item.
CurrentColumn Gets or sets the current column.
DataSource Gets or sets the data source that the RadGanttView is displaying data for.
ShowTimelineTodayIndicator Gets or sets a value indicating whether to show the timeline today indicator.
ShowTodayIndicator Gets or sets a value indicating whether to show the today indicator.
SelectedLink Gets or sets the selected link.

Events

Events Description
ItemChildIdNeeded Occurs when an item needs an id for storing in data sources.
ItemPaint Occurs when an item is painted. Allows custom painting over the item. EnableCustomPainting must be set to true for this event to be fired.
ContextMenuOpening Occurs when a context menu is about to be opened.
CreateDataItem Occurs when a new data item is created.
CreateLinkDataItem Occurs when a new link data item is created.
ItemAdding Occurs before an GanttViewDataItem is added to the Items collection.
LinkAdding Occurs before an GanttViewLinkDataItem is added to the Links collection.
ItemDataError Occurs when there is an error in the data layer of RadGanttView related to data operations with Item objects.
LinkDataError Occurs when there is an error in the data layer of RadGanttView related to data operations with Link objects.
SelectedItemChanging Occurs when the selected item is about to be changed.
SelectedItemChanged Occurs when selected item has been changed.
ItemExpandedChanging Occurs when an item is about to be expanded or collapsed.
ItemExpandedChanged Occurs after an item is expanded or collapsed.
ItemDataBound Occurs when an item is data bound.
ItemAdded Occurs when a new item is added to the Items collection.
ItemChanged Occurs when an item's property is changed.
LinkDataBound Occurs when a link is data bound.
LinkAdded Occurs when a new link added to the Links collection.
LinkRemoved Occurs when a link is removed from the Links collection.
HeaderCellElementCreating Occurs when a new header cell element needs to be created.
DataCellElementCreating Occurs when a new data cell element needs to be created.
TextViewCellFormatting Occurs when the content of a cell needs to be formatted for display.
TextViewItemFormatting Occurs when an item in the GanttViewTextViewElement state changes and it needs to be formatted.
TimelineItemFormatting Occurs when the state of a timeline item changes and it needs to be formatted.
GraphicalViewItemFormatting Occurs when the state of an item in the GanttViewGraphicalViewElement changes and it needs to be formatted.
PrintElementFormatting Occurs when an element will be printed. Allows formatting of the element.
PrintElementPaint Occurs after an element is printed. Allows for custom painting over the element.
SelectedLinkChanging Occurs when the selected link is about to be changed.
SelectedLinkChanged Occurs when selected link has been changed.

Methods

Methods Description
BeginUpdate Disables all notifications in the RadGanttView.
EndUpdate Ends the update.

Complete list of Properties events and methods can be found in the API Reference: RadGanttView

See Also

In this article