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

Kendo UI GanttView class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TTaskModel

TDependenciesModel

Syntax:

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

Inheritance: objectGanttView<TTaskModel, TDependenciesModel>

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

Constructors

C#
public GanttView()

Properties

If set to some date and it is between the range start and range end of the selected view, the timeline of the currently selected view is scrolled to start from this date.Overrides the date option of the gantt.

C#
public DateTime? Date { get; set; }

The template used to render the day slots in "day" and "week" views.

C#
public string DayHeaderTemplate { get; set; }

The handler that returns the template used for DayHeaderTemplate

C#
public string DayHeaderTemplateHandler { get; set; }

The id of the script element used for DayHeaderTemplate

C#
public string DayHeaderTemplateId { get; set; }

Gantt

Gantt<TTaskModel, TDependenciesModel>

Gantt member.

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

The template used to render the month slots in "month" and "year" views.

C#
public string MonthHeaderTemplate { get; set; }

The handler that returns the template used for MonthHeaderTemplate

C#
public string MonthHeaderTemplateHandler { get; set; }

The id of the script element used for MonthHeaderTemplate

C#
public string MonthHeaderTemplateId { get; set; }

Range

GanttViewRangeSettings<TTaskModel, TDependenciesModel>

Configures the view range settings.

C#
public GanttViewRangeSettings<TTaskModel, TDependenciesModel> Range { get; }

The format used to display the start and end dates in the resize tooltip.

C#
public string ResizeTooltipFormat { get; set; }

If set to true the view will be initially selected by the Gantt widget. The default selected view is "day".

C#
public bool? Selected { get; set; }

The size of the time slot headers. Values are treated as pixels.

C#
public double? SlotSize { get; set; }

The template used to render the time slots in "day" view

C#
public string TimeHeaderTemplate { get; set; }

The handler that returns the template used for TimeHeaderTemplate

C#
public string TimeHeaderTemplateHandler { get; set; }

The id of the script element used for TimeHeaderTemplate

C#
public string TimeHeaderTemplateId { get; set; }

The view type. Supported types are "day", "week", "month" and "year".

C#
public GanttViewType? Type { get; set; }

The template used to render the week slots in "week" and "month" views.

C#
public string WeekHeaderTemplate { get; set; }

The handler that returns the template used for WeekHeaderTemplate

C#
public string WeekHeaderTemplateHandler { get; set; }

The id of the script element used for WeekHeaderTemplate

C#
public string WeekHeaderTemplateId { get; set; }

The template used to render the year slots in "year" view.

C#
public string YearHeaderTemplate { get; set; }

The handler that returns the template used for YearHeaderTemplate

C#
public string YearHeaderTemplateHandler { get; set; }

The id of the script element used for YearHeaderTemplate

C#
public string YearHeaderTemplateId { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>