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

Defines the fluent API for configuring the GanttMessagesSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class GanttMessagesSettingsBuilder

Inheritance: objectGanttMessagesSettingsBuilder

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

Constructors

C#
public GanttMessagesSettingsBuilder(GanttMessagesSettings settings)
Parameters:settingsGanttMessagesSettings

Methods

The configuration of the Gantt action messages. Use this option to customize or localize the Gantt action messages.

C#
public GanttMessagesSettingsBuilder Actions(Action<GanttMessagesActionsSettingsBuilder> configurator)
Parameters:configuratorAction<GanttMessagesActionsSettingsBuilder>

The action that configures the actions.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Actions(am =&gt; am.AddChild("Value")))
)

The text similar to "Cancel" displayed in Gantt.

C#
public GanttMessagesSettingsBuilder Cancel(string value)
Parameters:valuestring

The value that configures the cancel.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Cancel("Value"))
)

The text similar to "Are you sure you want to delete this dependency?" displayed in Gantt dependency delete dialog.

C#
public GanttMessagesSettingsBuilder DeleteDependencyConfirmation(string value)
Parameters:valuestring

The value that configures the deletedependencyconfirmation.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.DeleteDependencyConfirmation("Value"))
)

The text similar to "Delete dependency" displayed in Gantt dependency delete dialog title.

C#
public GanttMessagesSettingsBuilder DeleteDependencyWindowTitle(string value)
Parameters:valuestring

The value that configures the deletedependencywindowtitle.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.DeleteDependencyWindowTitle("Value"))
)

The text similar to "Are you sure you want to delete this task?" displayed in Gantt task delete dialog.

C#
public GanttMessagesSettingsBuilder DeleteTaskConfirmation(string value)
Parameters:valuestring

The value that configures the deletetaskconfirmation.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.DeleteTaskConfirmation("Value"))
)

The text similar to "Delete task" displayed in Gantt task delete dialog title.

C#
public GanttMessagesSettingsBuilder DeleteTaskWindowTitle(string value)
Parameters:valuestring

The value that configures the deletetaskwindowtitle.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.DeleteTaskWindowTitle("Value"))
)

The text similar to "Delete" displayed in Gantt.

C#
public GanttMessagesSettingsBuilder Destroy(string value)
Parameters:valuestring

The value that configures the destroy.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Destroy("Value"))
)

The configuration of the Gantt editor messages. Use this option to customize or localize the Gantt editor messages.

C#
public GanttMessagesSettingsBuilder Editor(Action<GanttMessagesEditorSettingsBuilder> configurator)
Parameters:configuratorAction<GanttMessagesEditorSettingsBuilder>

The action that configures the editor.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Editor(em =&gt; em.AssignButton("Value")))
)

The configuration of the Gantt messages for Planned tasks.

C#
public GanttMessagesSettingsBuilder PlannedTasks(Action<GanttMessagesPlannedTasksSettingsBuilder> configurator)
Parameters:configuratorAction<GanttMessagesPlannedTasksSettingsBuilder>

The action that configures the plannedtasks.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.PlannedTasks(ptm =&gt; ptm.SwitchText("Value")))
)

The text similar to "Save" displayed in Gantt.

C#
public GanttMessagesSettingsBuilder Save(string value)
Parameters:valuestring

The value that configures the save.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Save("Value"))
)

The aria-label of the View select element.

C#
public GanttMessagesSettingsBuilder SelectView(string value)
Parameters:valuestring

The value that configures the selectview.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.SelectView("Value"))
)

The configuration of the Gantt view messages. Use this option to customize or localize the Gantt view messages.

C#
public GanttMessagesSettingsBuilder Views(Action<GanttMessagesViewsSettingsBuilder> configurator)
Parameters:configuratorAction<GanttMessagesViewsSettingsBuilder>

The action that configures the views.

Returns:

GanttMessagesSettingsBuilder

Example:
C#
@(Html.Kendo().Gantt&lt;TaskViewModel, DependencyViewModel&gt;()
.Name("gantt")
.Messages(m =&gt; m.Views(vm =&gt; vm.Day("Value")))
)