New to Telerik UI for ASP.NET Core? Start a free 30-day trial

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:

C#
public class GanttViewFactory<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency

Inheritance: objectGanttViewFactory<TTaskModel, TDependenciesModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the GanttViewFactory<TTaskModel, TDependenciesModel> class.

C#
public GanttViewFactory(List<GanttView<TTaskModel, TDependenciesModel>> container)
Parameters:containerList<GanttView<TTaskModel, TDependenciesModel>>

Properties

Container

List<GanttView<TTaskModel, TDependenciesModel>>

Container member.

C#
protected List<GanttView<TTaskModel, TDependenciesModel>> Container { get; }

Gantt

Gantt<TTaskModel, TDependenciesModel>

Gantt member.

C#
public Gantt<TTaskModel, TDependenciesModel> Gantt { get; set; }

Methods

Adds an item to the collection

C#
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> Add()
Returns:

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.

C#
public void DayView()

Creates a new GanttView of type Day and adds it to the GanttView collection.

C#
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> DayView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
Parameters:addViewActionAction<GanttViewBuilder<TTaskModel, TDependenciesModel>>

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.

C#
public void MonthView()

Creates a new GanttView of type Month and adds it to the GanttView collection.

C#
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> MonthView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
Parameters:addViewActionAction<GanttViewBuilder<TTaskModel, TDependenciesModel>>

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.

C#
public void WeekView()

Creates a new GanttView of type Week and adds it to the GanttView collection.

C#
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> WeekView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
Parameters:addViewActionAction<GanttViewBuilder<TTaskModel, TDependenciesModel>>

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.

C#
public void YearView()

Creates a new GanttView of type Year and adds it to the GanttView collection.

C#
public virtual GanttViewBuilder<TTaskModel, TDependenciesModel> YearView(Action<GanttViewBuilder<TTaskModel, TDependenciesModel>> addViewAction)
Parameters:addViewActionAction<GanttViewBuilder<TTaskModel, TDependenciesModel>>

The action to configure the GanttView.

Returns:

GanttViewBuilder<TTaskModel, TDependenciesModel>

A GanttViewBuilder<TTaskModel, TDependenciesModel> instance that can be used to configure the GanttView.