Defines the fluent API for configuring List<GanttView<TTaskModel, TDependenciesModel>>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TTaskModel
TDependenciesModel
Syntax:
public class GanttViewFactory<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency
Inheritance: objectGanttViewFactory<TTaskModel, TDependenciesModel>
Inherited Members
Constructors
Initializes a new instance of the GanttViewFactory<TTaskModel, TDependenciesModel> class.
Properties
Container member.
protected List<GanttView<TTaskModel, TDependenciesModel>> Container { get; }
Methods
Adds an item to the collection
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> Add()
GanttViewBuilder<TTaskModel, TDependenciesModel>
Returns a GanttViewBuilder<TTaskModel, TDependenciesModel> with the available configuration options.
Creates a new GanttView of type Day and adds it to the GanttView collection.
public void DayView()
Creates a new GanttView of type Day and adds it to the GanttView collection.
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> DayView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
The action to configure the GanttView.
Returns:GanttViewBuilder<TTaskModel, TDependenciesModel>
A GanttViewBuilder<TTaskModel, TDependenciesModel> instance that can be used to configure the GanttView.
Creates a new GanttView of type Month and adds it to the GanttView collection.
public void MonthView()
Creates a new GanttView of type Month and adds it to the GanttView collection.
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> MonthView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
The action to configure the GanttView.
Returns:GanttViewBuilder<TTaskModel, TDependenciesModel>
A GanttViewBuilder<TTaskModel, TDependenciesModel> instance that can be used to configure the GanttView.
Creates a new GanttView of type Week and adds it to the GanttView collection.
public void WeekView()
Creates a new GanttView of type Week and adds it to the GanttView collection.
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> WeekView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
The action to configure the GanttView.
Returns:GanttViewBuilder<TTaskModel, TDependenciesModel>
A GanttViewBuilder<TTaskModel, TDependenciesModel> instance that can be used to configure the GanttView.
Creates a new GanttView of type Year and adds it to the GanttView collection.
public void YearView()
Creates a new GanttView of type Year and adds it to the GanttView collection.
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> YearView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
The action to configure the GanttView.
Returns:GanttViewBuilder<TTaskModel, TDependenciesModel>
A GanttViewBuilder<TTaskModel, TDependenciesModel> instance that can be used to configure the GanttView.