Defines the fluent API for configuring GanttTooltipSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TTaskModel
TDependenciesModel
Syntax:
public class GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency
Inheritance: objectGanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Inherited Members
Constructors
GanttTooltipSettingsBuilder method.
public GanttTooltipSettingsBuilder(GanttTooltipSettings<TTaskModel, TDependenciesModel> container)
Properties
Container
GanttTooltipSettings<TTaskModel, TDependenciesModel>
Container member.
protected GanttTooltipSettings<TTaskModel, TDependenciesModel> Container { get; }
Methods
The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> Template(string value)
The value for Template
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.
The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.
The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.
The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> TemplateId(string templateId)
The ID of the template element for Template
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.
The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.
If set to false the gantt will not display the task tooltip. By default the task tooltip is displayed.
public GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> Visible(bool value)
The value for Visible
Returns:GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel>
Returns the current GanttTooltipSettingsBuilder<TTaskModel, TDependenciesModel> instance.