Adapts scheduler appointments for RadGanttView as flat tasks with date-based columns. Retain this provider while it is assigned because the Gantt view keeps a weak reference to it.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class GanttViewIntegrationProvider : IGanttViewDataProvider, IDisposable
Inheritance: objectGanttViewIntegrationProvider
Implements:
Constructors
Creates the Gantt task source from the scheduler's current appointments and subscribes to scheduler and task-list changes.
public GanttViewIntegrationProvider(RadScheduler scheduler)
The scheduler whose appointments are exposed; it must not be null and its items must be Appointment instances.
Properties
Gets the task identifier member name, UniqueId.
public string ChildMember { get; }
Implements:
Gets or sets the task columns; the initial columns display Summary, Start, and End.
public List<GanttViewTextViewColumn> Columns { get; set; }
Implements:
Gets the bindable source containing the provider's task and link lists.
public object DataSource { get; }
Implements:
Gets the appointment end member name, End.
public string EndMember { get; }
Implements:
Gets the task-link list member name, LinksBindingList.
public string LinkDataMember { get; }
Implements:
Gets the link end-identifier member name, EndId.
public string LinkEndMember { get; }
Implements:
Gets the link start-identifier member name, StartId.
public string LinkStartMember { get; }
Implements:
Gets the link type member name, LinkType.
public string LinkTypeMember { get; }
Implements:
Gets null because this provider exposes a flat task list.
public string ParentMember { get; }
Implements:
Gets null because this provider does not map appointment progress.
public string ProgressMember { get; }
Implements:
Gets the scheduler whose appointments are exposed to the Gantt view.
public RadScheduler Scheduler { get; }
Gets the appointment start member name, Start.
public string StartMember { get; }
Implements:
Gets the task-list member name, TasksBindingList.
public string TaskDataMember { get; }
Implements:
Gets the appointment summary member name, Summary.
public string TitleMember { get; }
Implements:
Gets the strongly typed task and link source used by this provider and its subclasses.
protected GanttIntegrationDataSource<Appointment, GanttViewIntegrationLinkItem<EventId>> TypeSafeDataSource { get; }
Methods
Removes this provider's event subscriptions from the scheduler and its task list.
public void Dispose()
Implements:
Mirrors task-list additions and deletions to the scheduler; item changes and list resets are not handled here.
protected virtual void OnDataItemsListChanged(ListChangedEventArgs e)
The task-list change details.
Adds a newly added scheduler appointment to the Gantt task list.
protected virtual void OnSchedulerAppointmentAdded(AppointmentAddedEventArgs e)
The event data containing the new appointment.
Removes a deleted scheduler appointment from the Gantt task list.
protected virtual void OnSchedulerAppointmentDeleted(SchedulerAppointmentEventArgs e)
The event data containing the deleted appointment.
Removes the event subscriptions installed by WireEvents().
protected virtual void UnwireEvents()
Subscribes to scheduler, event-provider, and task-list changes so appointment additions and deletions stay synchronized.
protected virtual void WireEvents()