' Allow invoking Task Information dialog from the Grid as well as the chart sections of the control
Me.ultraGanttView1.AutoDisplayTaskDialog = Infragistics.Win.UltraWinGanttView.AutoDisplayTaskDialog.GridAreaOrChartArea
AddHandler Me.ultraGanttView1.TaskDialogDisplaying, AddressOf ultraGanttView1_TaskDialogDisplaying
Private Sub ultraGanttView1_TaskDialogDisplaying(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGanttView.TaskDialogDisplayingEventArgs) Handles ultraGanttView1.TaskDialogDisplaying
' Get Reference to the Task that invoked the dialog
Task taskInDialog = e.Task
End Sub