Class RadGanttView
Displays a hierarchical collection of task items along with the relations between them. Each item is represented by a GanttViewDataItem and each link is represented by a GanttViewLinkDataItem.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Data Controls")]
public class RadGanttView : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPrintable
Constructors
RadGanttView()
Fields
bitmapCreated
Declaration
protected bool bitmapCreated
Field Value
|
System.Boolean
|
colCount
Declaration
protected int colCount
Field Value
|
System.Int32
|
drawArea
Declaration
protected RectangleF drawArea
Field Value
|
System.Drawing.RectangleF
|
printBmp
Declaration
protected Bitmap printBmp
Field Value
|
System.Drawing.Bitmap
|
rowCount
Declaration
protected int rowCount
Field Value
|
System.Int32
|
timelineBmp
Declaration
protected Bitmap timelineBmp
Field Value
|
System.Drawing.Bitmap
|
Properties
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.
Declaration
public bool AllowSummaryEditing { get; set; }
Property Value
|
System.Boolean
|
BackColor
This property is not relevant for this class.
Declaration
public override Color BackColor { get; set; }
Property Value
|
System.Drawing.Color
|
Overrides
ChildMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public string ChildMember { get; set; }
Property Value
|
System.String
|
Columns
Gets the collection of columns shown in the GanttViewTextViewElement.
Declaration
public GanttViewTextViewColumnCollection Columns { get; }
Property Value
|
GanttViewTextViewColumnCollection
The columns. |
CurrentColumn
Gets or sets the current column.
Declaration
public GanttViewTextViewColumn CurrentColumn { get; set; }
Property Value
|
GanttViewTextViewColumn
|
DataProvider
Gets or sets a IGanttViewDataProvider instance, which enables integration with other controls.
Declaration
public IGanttViewDataProvider DataProvider { get; set; }
Property Value
|
IGanttViewDataProvider
The data provider. |
DataSource
Gets or sets the data source that the RadGanttView is displaying data for.
Declaration
public object DataSource { get; set; }
Property Value
|
System.Object
|
DefaultSize
Gets the default size of the control.
Declaration
protected override Size DefaultSize { get; }
Property Value
|
System.Drawing.Size
The default System.Drawing.Size of the control. |
DragDropService
Gets or sets the drag drop service.
Declaration
public GanttViewDragDropService DragDropService { get; set; }
Property Value
|
GanttViewDragDropService
The drag drop service. |
EnableCustomPainting
Gets or sets a value indicating whether custom painting is enabled.
Declaration
public bool EnableCustomPainting { get; set; }
Property Value
|
System.Boolean
|
EndMember
Gets or sets a property name which will be used to extract the end of the data items.
Declaration
public string EndMember { get; set; }
Property Value
|
System.String
|
ForeColor
This property is not relevant for this class.
Declaration
public override Color ForeColor { get; set; }
Property Value
|
System.Drawing.Color
|
Overrides
GanttViewBehavior
Gets or sets the gantt view behavior.
Declaration
public BaseGanttViewBehavior GanttViewBehavior { get; set; }
Property Value
|
BaseGanttViewBehavior
The gantt view behavior. |
GanttViewElement
Gets the gantt view element.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
|
RadGanttViewElement
The gantt view element. |
HeaderHeight
Gets or sets the height of the header row and the timeline container.
Declaration
public int HeaderHeight { get; set; }
Property Value
|
System.Int32
The height of the header. |
IsDataBound
Gets a value indicating whether this instance is data bound.
Declaration
public bool IsDataBound { get; }
Property Value
|
System.Boolean
|
IsEditing
Gets a value indicating whether this instance is in edit mode.
Declaration
public bool IsEditing { get; }
Property Value
|
System.Boolean
|
IsInDesignMode
Gets or a value indicating whether the control is in design mode.
Declaration
public bool IsInDesignMode { get; }
Property Value
|
System.Boolean
|
ItemHeight
Gets or sets the height of the items.
Declaration
public int ItemHeight { get; set; }
Property Value
|
System.Int32
The height of the item. |
Items
Gets the collection of task items.
Declaration
public GanttViewDataItemCollection Items { get; }
Property Value
|
GanttViewDataItemCollection
The task items. |
LinkDataMember
Gets or sets the name of the list or table in the data source from which the RadGanttViewElement will extract links data.
Declaration
public string LinkDataMember { get; set; }
Property Value
|
System.String
|
LinkEndMember
Gets or sets a property name which will be used to extract the links end item.
Declaration
public string LinkEndMember { get; set; }
Property Value
|
System.String
|
Links
Gets the collection of links.
Declaration
public GanttViewLinkDataItemCollection Links { get; }
Property Value
|
GanttViewLinkDataItemCollection
The links. |
LinkStartMember
Gets or sets a property name which will be used to extract links start item.
Declaration
public string LinkStartMember { get; set; }
Property Value
|
System.String
|
LinkTypeConverter
Gets or sets a link type converter that will be used to convert values coming from the data source to TasksLinkType and vice versa.
Declaration
public LinkTypeConverter LinkTypeConverter { get; set; }
Property Value
|
LinkTypeConverter
The link type converter. |
LinkTypeMember
Gets or sets a property name which will be used to extract the link type of the data items.
Declaration
public string LinkTypeMember { get; set; }
Property Value
|
System.String
|
ParentMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public string ParentMember { get; set; }
Property Value
|
System.String
|
PrintSettings
Gets or sets a GanttViewPrintSettings instance, which hold the default print settings.
Declaration
public GanttViewPrintSettings PrintSettings { get; set; }
Property Value
|
GanttViewPrintSettings
The print settings. |
ProgressMember
Gets or sets a property name which will be used to extract the Progress of the data items.
Declaration
public string ProgressMember { get; set; }
Property Value
|
System.String
|
RadContextMenu
Gets or sets the context menu associated with the control.
Declaration
public virtual RadContextMenu RadContextMenu { get; set; }
Property Value
|
RadContextMenu
A System.Windows.Forms.ContextMenu that represents the context menu associated with the control. |
Ratio
Gets or sets the ratio between the text view and the graphical view.
Declaration
public float Ratio { get; set; }
Property Value
|
System.Single
The ratio. |
ReadOnly
Gets or sets a value indicating whether the gantt view is read only.
Declaration
public bool ReadOnly { get; set; }
Property Value
|
System.Boolean
|
SelectedItem
Gets or sets the selected item.
Declaration
public GanttViewDataItem SelectedItem { get; set; }
Property Value
|
GanttViewDataItem
The selected item. |
SelectedLink
Gets or sets the selected link.
Declaration
public GanttViewLinkDataItem SelectedLink { get; set; }
Property Value
|
GanttViewLinkDataItem
The selected link. |
ShowTimelineTodayIndicator
Gets or sets a value indicating whether to show the timeline today indicator.
Declaration
public bool ShowTimelineTodayIndicator { get; set; }
Property Value
|
System.Boolean
|
ShowTodayIndicator
Gets or sets a value indicating whether to show the today indicator.
Declaration
public bool ShowTodayIndicator { get; set; }
Property Value
|
System.Boolean
|
SplitterWidth
Gets or sets the width of the splitter.
Declaration
public int SplitterWidth { get; set; }
Property Value
|
System.Int32
The width of the splitter. |
StartMember
Gets or sets a property name which will be used to extract the start of the data items.
Declaration
public string StartMember { get; set; }
Property Value
|
System.String
|
TaskDataMember
Gets or sets the name of the list or table in the data source from which the RadGanttViewElement will extract tasks data.
Declaration
public string TaskDataMember { get; set; }
Property Value
|
System.String
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
|
System.String
|
Overrides
TitleMember
Gets or sets a property name which will be used to extract the title of the data items.
Declaration
public string TitleMember { get; set; }
Property Value
|
System.String
|
Methods
BeginPrint(RadPrintDocument, PrintEventArgs)
Called when the printing begins.
Declaration
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
|
RadPrintDocument
sender
The |
|
System.Drawing.Printing.PrintEventArgs
args
The event args. |
Returns
|
System.Int32
The number of pages that will be printed. |
Implements
BeginUpdate()
Disables all notifications in the RadGanttView to improve performance during bulk operations.
Declaration
public void BeginUpdate()
CreateChildItems(RadElement)
Creates the child items.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
|
RadElement
parent
The parent. |
Overrides
CreateGanttViewElement()
Creates and returns a new instance of RadGanttViewElement. This method can be overridden to provide custom element implementations.
Declaration
protected virtual RadGanttViewElement CreateGanttViewElement()
Returns
|
RadGanttViewElement
A new instance of RadGanttViewElement. |
Dispose(Boolean)
Releases the unmanaged resources used by the RadGanttView and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
|
Overrides
DrawCurrentPage(Graphics, Int32)
Draws the current page by slicing a portion of the big bitmap.
Declaration
protected virtual void DrawCurrentPage(Graphics g, int printedPage)
Parameters
|
System.Drawing.Graphics
g
The graphics object. |
|
System.Int32
printedPage
The printed page. |
DrawHeaderAndTimelineViewToBitmap(Bitmap)
Draws the header and the timeline view items to bitmap.
Declaration
protected virtual void DrawHeaderAndTimelineViewToBitmap(Bitmap bmp)
Parameters
|
System.Drawing.Bitmap
bmp
The BMP. |
DrawHeaderCellsToBitmap(Graphics)
Draws the header cells to bitmap.
Declaration
protected virtual void DrawHeaderCellsToBitmap(Graphics g)
Parameters
|
System.Drawing.Graphics
g
The g. |
DrawLinksToBitmap(Graphics)
Draws the links to the bitmap.
Declaration
protected virtual void DrawLinksToBitmap(Graphics g)
Parameters
|
System.Drawing.Graphics
g
The g. |
DrawTextViewAndGraphicalViewToBitmap(Bitmap)
Draws the grid portion of the gantt view and the graphical view to the big bitmap.
Declaration
protected virtual void DrawTextViewAndGraphicalViewToBitmap(Bitmap bmp)
Parameters
|
System.Drawing.Bitmap
bmp
The BMP. |
DrawTextViewCellsAndTasksToBitmap(Graphics)
Draws the grid cells and graphical tasks to the bitmap.
Declaration
protected virtual void DrawTextViewCellsAndTasksToBitmap(Graphics g)
Parameters
|
System.Drawing.Graphics
g
The graphics. |
DrawTimelineItemsToBitmap(Graphics)
Draws the timeline items to bitmap.
Declaration
protected virtual void DrawTimelineItemsToBitmap(Graphics g)
Parameters
|
System.Drawing.Graphics
g
The g. |
EndPrint(RadPrintDocument, PrintEventArgs)
Called when the printing ends.
Declaration
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
|
RadPrintDocument
sender
The |
|
System.Drawing.Printing.PrintEventArgs
args
The event args. |
Returns
|
System.Boolean
false if the printing was canceled |
Implements
EndUpdate()
Re-enables notifications and updates the RadGanttView after bulk operations are completed.
Declaration
public void EndUpdate()
GetElementShape(GanttViewPrintElementContext, RectangleF)
Gets the shape of an element based on the print context and the provided rectangle.
Declaration
protected virtual PointF[] GetElementShape(GanttViewPrintElementContext context, RectangleF rect)
Parameters
|
GanttViewPrintElementContext
context
The context. |
|
System.Drawing.RectangleF
rect
The rect. |
Returns
|
System.Drawing.PointF[]
|
GetFinishToFinishLines(GanttViewLinkDataItem, Int32, Int32)
Gets the finish to finish lines for the given link.
Declaration
protected virtual List<PointF> GetFinishToFinishLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)
Parameters
|
GanttViewLinkDataItem
link
The link. |
|
System.Int32
startItemIndex
The index of the link start item in a flat representation of the items hierarchy. |
|
System.Int32
endItemIndex
The index of the link end item in a flat representation of the items hierarchy. |
Returns
|
System.Collections.Generic.List<System.Drawing.PointF>
|
GetFinishToStartLines(GanttViewLinkDataItem, Int32, Int32)
Gets the finish to start lines for the given link.
Declaration
protected virtual List<PointF> GetFinishToStartLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)
Parameters
|
GanttViewLinkDataItem
link
The link. |
|
System.Int32
startItemIndex
The index of the link start item in a flat representation of the items hierarchy. |
|
System.Int32
endItemIndex
The index of the link end item in a flat representation of the items hierarchy. |
Returns
|
System.Collections.Generic.List<System.Drawing.PointF>
|
GetLinkLines(GanttViewLinkDataItem, Int32, Int32)
Gets the link lines for the given link.
Declaration
protected virtual List<PointF> GetLinkLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)
Parameters
|
GanttViewLinkDataItem
link
The link. |
|
System.Int32
startItemIndex
The index of the link start item in a flat representation of the items hierarchy. |
|
System.Int32
endItemIndex
The index of the link end item in a flat representation of the items hierarchy. |
Returns
|
System.Collections.Generic.List<System.Drawing.PointF>
|
GetPrintElement(GanttViewPrintElementContext)
Gets an initialized print element based on the provided context.
Declaration
protected virtual GanttViewPrintElement GetPrintElement(GanttViewPrintElementContext context)
Parameters
|
GanttViewPrintElementContext
context
The context. |
Returns
|
GanttViewPrintElement
|
GetPrintRectangle(GanttViewDataItem, Int32)
Returns a rectangle representing the coordinates where an object should be positioned or drawn for the given item and time frame.
Declaration
protected virtual RectangleF GetPrintRectangle(GanttViewDataItem item, int index)
Parameters
|
GanttViewDataItem
item
The item that will be printed. |
|
System.Int32
index
The index of the item in a flat representation of the items hierarchy. |
Returns
|
System.Drawing.RectangleF
|
GetSettingsDialog(RadPrintDocument)
Gets a print settings dialog that is specific for the printable object.
Declaration
public Form GetSettingsDialog(RadPrintDocument document)
Parameters
|
RadPrintDocument
document
The |
Returns
|
System.Windows.Forms.Form
The dialog. |
Implements
GetStartToFinishLines(GanttViewLinkDataItem, Int32, Int32)
Gets the start to finish lines for the given link.
Declaration
protected virtual List<PointF> GetStartToFinishLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)
Parameters
|
GanttViewLinkDataItem
link
The link. |
|
System.Int32
startItemIndex
The index of the link start item in a flat representation of the items hierarchy. |
|
System.Int32
endItemIndex
The index of the link end item in a flat representation of the items hierarchy. |
Returns
|
System.Collections.Generic.List<System.Drawing.PointF>
|
GetStartToStartLines(GanttViewLinkDataItem, Int32, Int32)
Gets the start to start lines for the given link.
Declaration
protected virtual List<PointF> GetStartToStartLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)
Parameters
|
GanttViewLinkDataItem
link
The link. |
|
System.Int32
startItemIndex
The index of the link start item in a flat representation of the items hierarchy. |
|
System.Int32
endItemIndex
The index of the link end item in a flat representation of the items hierarchy. |
Returns
|
System.Collections.Generic.List<System.Drawing.PointF>
|
IsInputKey(Keys)
Determines whether the pressed key is input key.
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
|
System.Windows.Forms.Keys
keyData
The key data. |
Returns
|
System.Boolean
|
Overrides
OnBindingContextChanged(EventArgs)
Raises the BindingContextChanged event.
Declaration
protected override void OnBindingContextChanged(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
|
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Overrides
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
|
System.Windows.Forms.KeyPressEventArgs
e
The System.Windows.Forms.KeyPressEventArgs instance containing the event data. |
Overrides
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
|
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Overrides
OnMouseClick(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseClick event.
Declaration
protected override void OnMouseClick(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
An System.Windows.Forms.MouseEventArgs that contains the event data. |
OnMouseDoubleClick(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDoubleClick event.
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
An System.Windows.Forms.MouseEventArgs that contains the event data. |
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseEnter(EventArgs)
Raises the MouseEnter event.
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseHover(EventArgs)
Raises the MouseHover event.
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseLeave(EventArgs)
Raises the MouseLeave event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
|
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnPrintElementFormatting(GanttViewPrintElementFormattingEventArgs)
Raises the PrintElementFormatting event.
Declaration
protected virtual void OnPrintElementFormatting(GanttViewPrintElementFormattingEventArgs e)
Parameters
|
GanttViewPrintElementFormattingEventArgs
e
The GanttViewPrintElementFormattingEventArgs instance containing the event data. |
OnPrintElementPaint(GanttViewPrintElementPaintEventArgs)
Raises the PrintElementPaint event.
Declaration
protected virtual void OnPrintElementPaint(GanttViewPrintElementPaintEventArgs e)
Parameters
|
GanttViewPrintElementPaintEventArgs
e
The GanttViewPrintElementPaintEventArgs instance containing the event data. |
Print()
Print(Boolean)
Directly prints the RadGanttView to the default printer or shows printer settings and then prints the RadGanttView.
Declaration
public virtual void Print(bool showPrinterSettings)
Parameters
|
System.Boolean
showPrinterSettings
Indicates whether printer settings dialog should be shown. |
Print(Boolean, RadPrintDocument)
Directly prints the RadGanttView to the default printer or shows printer settings and then prints the RadGanttView.
Declaration
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)
Parameters
|
System.Boolean
showPrinterSettings
Indicates whether printer settings dialog should be shown. |
|
RadPrintDocument
document
As instance of RadPrintDocument used to control the print process. |
PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, String, Object)
Prints a gantt view element to the graphics object.
Declaration
protected virtual void PrintGanttViewElement(Graphics g, GanttViewPrintElementContext context, RectangleF rect, string text, object dataItem)
Parameters
|
System.Drawing.Graphics
g
The Graphics object used for painting the element. |
|
GanttViewPrintElementContext
context
The print element context. |
|
System.Drawing.RectangleF
rect
The rectangle of the print element. |
|
System.String
text
The text of the print element. |
|
System.Object
dataItem
The data item of the print element. |
PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, String, Object, String)
Prints a gantt view element to the graphics object.
Declaration
protected virtual void PrintGanttViewElement(Graphics g, GanttViewPrintElementContext context, RectangleF rect, string text, object dataItem, string columnName)
Parameters
|
System.Drawing.Graphics
g
The Graphics object used for painting the element. |
|
GanttViewPrintElementContext
context
The print element context. |
|
System.Drawing.RectangleF
rect
The rectangle of the print element. |
|
System.String
text
The text of the print element. |
|
System.Object
dataItem
The data item of the print element. |
|
System.String
columnName
The column name of the print element. |
PrintPage(Int32, RadPrintDocument, PrintPageEventArgs)
Prints the page with the specified number.
Declaration
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Parameters
|
System.Int32
pageNumber
The number of the current page. |
|
RadPrintDocument
sender
The |
|
System.Drawing.Printing.PrintPageEventArgs
args
The event args. |
Returns
|
System.Boolean
true if there are more pages, false otherwise |
Implements
PrintPreview()
Shows a RadPrintPreviewDialog for editing the RadGanttView print settings.
Declaration
public virtual void PrintPreview()
PrintPreview(RadPrintDocument)
Shows a RadPrintPreviewDialog for editing the RadGanttView print settings.
Declaration
public virtual void PrintPreview(RadPrintDocument document)
Parameters
|
RadPrintDocument
document
As instance of RadPrintDocument used to control the print process. |
ProcessDialogKey(Keys)
Processes a dialog key.
Declaration
protected override bool ProcessDialogKey(Keys keyData)
Parameters
|
System.Windows.Forms.Keys
keyData
One of the System.Windows.Forms.Keys values that represents the key to process. |
Returns
|
System.Boolean
true if the key was processed by the control; otherwise, false. |
WndProc(ref Message)
Handles windows messages.
Declaration
protected override void WndProc(ref Message m)
Parameters
|
System.Windows.Forms.Message
m
The message. |
Overrides
Events
ContextMenuOpening
Occurs when a context menu is about to be opened.
Declaration
public event GanttViewContextMenuOpeningEventHandler ContextMenuOpening
Event Type
|
GanttViewContextMenuOpeningEventHandler
|
CreateDataItem
Occurs when a new data item is created.
Declaration
public event CreateGanttDataItemEventHandler CreateDataItem
Event Type
|
CreateGanttDataItemEventHandler
|
CreateLinkDataItem
Occurs when a new link data item is created.
Declaration
public event CreateGanttLinkDataItemEventHandler CreateLinkDataItem
Event Type
|
CreateGanttLinkDataItemEventHandler
|
DataCellElementCreating
Occurs when a new data cell element needs to be created.
Declaration
public event GanttViewDataCellElementCreatingEventHandler DataCellElementCreating
Event Type
|
GanttViewDataCellElementCreatingEventHandler
|
GraphicalViewItemFormatting
Occurs when the state of an item in the GanttViewGraphicalViewElement changes and it needs to be formatted.
Declaration
public event GanttViewGraphicalViewItemFormattingEventHandler GraphicalViewItemFormatting
Event Type
|
GanttViewGraphicalViewItemFormattingEventHandler
|
GraphicalViewLinkItemFormatting
Occurs when the state of a link item in the GanttViewGraphicalViewElement changes and it needs to be formatted.
Declaration
public event GanttViewLinkItemFormattingEventHandler GraphicalViewLinkItemFormatting
Event Type
|
GanttViewLinkItemFormattingEventHandler
|
HeaderCellElementCreating
Occurs when a new header cell element needs to be created.
Declaration
public event GanttViewHeaderCellElementCreatingEventHandler HeaderCellElementCreating
Event Type
|
GanttViewHeaderCellElementCreatingEventHandler
|
ItemAdded
Occurs when a new item is added to the Items collection.
Declaration
public event GanttViewItemAddedEventHandler ItemAdded
Event Type
|
GanttViewItemAddedEventHandler
|
ItemAdding
Occurs before an GanttViewDataItem is added to the Items collection.
Declaration
public event GanttItemAddingEventHandler ItemAdding
Event Type
|
GanttItemAddingEventHandler
|
ItemChanged
Occurs when an item's property is changed.
Declaration
public event GanttViewItemChangedEventhandler ItemChanged
Event Type
|
GanttViewItemChangedEventhandler
|
ItemChildIdNeeded
Occurs when an item needs an id for storing in data sources.
Declaration
public event GanttViewItemChildIdNeededEventHandler ItemChildIdNeeded
Event Type
|
GanttViewItemChildIdNeededEventHandler
|
ItemDataBound
Occurs when an item is data bound.
Declaration
public event GanttViewItemDataBoundEventHandler ItemDataBound
Event Type
|
GanttViewItemDataBoundEventHandler
|
ItemDataError
Occurs when there is an error in the data layer of RadGanttView related to data operations with Item objects.
Declaration
public event GanttItemDataErrorEventHandler ItemDataError
Event Type
|
GanttItemDataErrorEventHandler
|
ItemElementCreating
Occurs when an item element needs to be created.
Declaration
public event GanttViewItemElementCreatingEventHandler ItemElementCreating
Event Type
|
GanttViewItemElementCreatingEventHandler
|
ItemExpandedChanged
Occurs after an item is expanded or collapsed.
Declaration
public event GanttViewExpandedChangedEventHandler ItemExpandedChanged
Event Type
|
GanttViewExpandedChangedEventHandler
|
ItemExpandedChanging
Occurs when an item is about to be expanded or collapsed.
Declaration
public event GanttViewExpandedChangingEventHandler ItemExpandedChanging
Event Type
|
GanttViewExpandedChangingEventHandler
|
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.
Declaration
public event GanttViewItemPaintEventHandler ItemPaint
Event Type
|
GanttViewItemPaintEventHandler
|
ItemRemoved
Occurs when an item removed from the Items collection.
Declaration
public event GanttViewItemRemovedEventHandler ItemRemoved
Event Type
|
GanttViewItemRemovedEventHandler
|
LinkAdded
Occurs when a new link added to the Links collection.
Declaration
public event GanttViewLinkAddedEventHandler LinkAdded
Event Type
|
GanttViewLinkAddedEventHandler
|
LinkAdding
Occurs before an GanttViewLinkDataItem is added to the Links collection.
Declaration
public event GanttLinkAddingEventHandler LinkAdding
Event Type
|
GanttLinkAddingEventHandler
|
LinkChanged
Occurs when a link's property is changed.
Declaration
public event GanttViewLinkChangedEventHandler LinkChanged
Event Type
|
GanttViewLinkChangedEventHandler
|
LinkDataBound
Occurs when a link is data bound.
Declaration
public event GanttViewLinkDataBoundEventHandler LinkDataBound
Event Type
|
GanttViewLinkDataBoundEventHandler
|
LinkDataError
Occurs when there is an error in the data layer of RadGanttView related to data operations with Link objects.
Declaration
public event GanttLinkDataErrorEventHandler LinkDataError
Event Type
|
GanttLinkDataErrorEventHandler
|
LinkRemoved
Occurs when a link is removed from the Links collection.
Declaration
public event GanttViewLinkRemovedEventHandler LinkRemoved
Event Type
|
GanttViewLinkRemovedEventHandler
|
PrintElementFormatting
Occurs when an element will be printed. Allows formatting of the element.
Declaration
public event GanttViewPrintElementFormattingEventHandler PrintElementFormatting
Event Type
|
GanttViewPrintElementFormattingEventHandler
|
PrintElementPaint
Occurs after an element is printed. Allows for custom painting over the element.
Declaration
public event GanttViewPrintElementPaintEventHandler PrintElementPaint
Event Type
|
GanttViewPrintElementPaintEventHandler
|
SelectedItemChanged
Occurs when selected item has been changed.
Declaration
public event GanttViewSelectedItemChangedEventHandler SelectedItemChanged
Event Type
|
GanttViewSelectedItemChangedEventHandler
|
SelectedItemChanging
Occurs when the selected item is about to be changed.
Declaration
public event GanttViewSelectedItemChangingEventHandler SelectedItemChanging
Event Type
|
GanttViewSelectedItemChangingEventHandler
|
SelectedLinkChanged
Occurs when selected link has been changed.
Declaration
public event GanttViewSelectedLinkChangedEventHandler SelectedLinkChanged
Event Type
|
GanttViewSelectedLinkChangedEventHandler
|
SelectedLinkChanging
Occurs when the selected link is about to be changed.
Declaration
public event GanttViewSelectedLinkChangingEventHandler SelectedLinkChanging
Event Type
|
GanttViewSelectedLinkChangingEventHandler
|
TextViewCellFormatting
Occurs when the content of a cell needs to be formatted for display.
Declaration
public event GanttViewTextViewCellFormattingEventHandler TextViewCellFormatting
Event Type
|
GanttViewTextViewCellFormattingEventHandler
|
TextViewItemFormatting
Occurs when an item in the GanttViewTextViewElement state changes and it needs to be formatted.
Declaration
public event GanttViewTextViewItemFormattingEventHandler TextViewItemFormatting
Event Type
|
GanttViewTextViewItemFormattingEventHandler
|
TimelineItemElementCreating
Occurs when a timeline item element needs to be created.
Declaration
public event GanttViewTimelineItemElementCreatingEventHandler TimelineItemElementCreating
Event Type
|
GanttViewTimelineItemElementCreatingEventHandler
|
TimelineItemFormatting
Occurs when the state of a timeline item changes and it needs to be formatted.
Declaration
public event GanttViewTimelineItemFormattingEventHandler TimelineItemFormatting
Event Type
|
GanttViewTimelineItemFormattingEventHandler
|