New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago
PropertyDescription
LinksGets the collection of links.
ItemsGets the collection of task items.
ColumnsGets the collection of columns shown in the text element
RatioGets or sets the ratio between the text view and the graphical view.
ItemHeightGets or sets the height of the items.
HeaderHeightGets or sets the height of the header row and the timeline container.
SplitterWidthGets or sets the width of the splitter.
IsEditingGets a value indicating whether this instance is in edit mode.
AllowSummaryEditingGets or sets a value indicating whether summary items are editable by the user or their value is auto-calculated from their sub items.
SelectedItemGets or sets the selected item.
CurrentColumnGets or sets the current column.
DataSourceGets or sets the data source that the RadGanttView is displaying data for.
ShowTimelineTodayIndicatorGets or sets a value indicating whether to show the timeline today indicator.
ShowTodayIndicatorGets or sets a value indicating whether to show the today indicator.
SelectedLinkGets or sets the selected link.

Events

EventsDescription
ItemChildIdNeededOccurs when an item needs an id for storing in data sources.
ItemPaintOccurs when an item is painted. Allows custom painting over the item. EnableCustomPainting must be set to true for this event to be fired.
ContextMenuOpeningOccurs when a context menu is about to be opened.
CreateDataItemOccurs when a new data item is created.
CreateLinkDataItemOccurs when a new link data item is created.
ItemAddingOccurs before an GanttViewDataItem is added to the Items collection.
LinkAddingOccurs before an GanttViewLinkDataItem is added to the Links collection.
ItemDataErrorOccurs when there is an error in the data layer of RadGanttView related to data operations with Item objects.
LinkDataErrorOccurs when there is an error in the data layer of RadGanttView related to data operations with Link objects.
SelectedItemChangingOccurs when the selected item is about to be changed.
SelectedItemChangedOccurs when selected item has been changed.
ItemExpandedChangingOccurs when an item is about to be expanded or collapsed.
ItemExpandedChangedOccurs after an item is expanded or collapsed.
ItemDataBoundOccurs when an item is data bound.
ItemAddedOccurs when a new item is added to the Items collection.
ItemChangedOccurs when an item's property is changed.
LinkDataBoundOccurs when a link is data bound.
LinkAddedOccurs when a new link added to the Links collection.
LinkRemovedOccurs when a link is removed from the Links collection.
HeaderCellElementCreatingOccurs when a new header cell element needs to be created.
DataCellElementCreatingOccurs when a new data cell element needs to be created.
TextViewCellFormattingOccurs when the content of a cell needs to be formatted for display.
TextViewItemFormattingOccurs when an item in the GanttViewTextViewElement state changes and it needs to be formatted.
TimelineItemFormattingOccurs when the state of a timeline item changes and it needs to be formatted.
GraphicalViewItemFormattingOccurs when the state of an item in the GanttViewGraphicalViewElement changes and it needs to be formatted.
PrintElementFormattingOccurs when an element will be printed. Allows formatting of the element.
PrintElementPaintOccurs after an element is printed. Allows for custom painting over the element.
SelectedLinkChangingOccurs when the selected link is about to be changed.
SelectedLinkChangedOccurs when selected link has been changed.

Methods

MethodsDescription
BeginUpdateDisables all notifications in the RadGanttView.
EndUpdateEnds the update.

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

See Also

In this article
See Also
Not finding the help you need?
Contact Support