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

Defines the fluent API for configuring the OrgChartMessagesSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class OrgChartMessagesSettingsBuilder<T> where T : class

Inheritance: objectOrgChartMessagesSettingsBuilder<T>

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

Constructors

Initialize the OrgChartMessagesSettingsBuilder

C#
public OrgChartMessagesSettingsBuilder(OrgChartMessagesSettings settings)
Parameters:settingsOrgChartMessagesSettings

The OrgChartMessagesSettings

Methods

The message that will be used for the cancel action button text.

C#
public OrgChartMessagesSettingsBuilder<T> Cancel(string value)
Parameters:valuestring

The value that configures the cancel.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Cancel("Cancel changes"))
)

The message that will be used to label the Collapse button.

C#
public OrgChartMessagesSettingsBuilder<T> Collapse(string value)
Parameters:valuestring

The value that configures the collapse.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Collapse("Close"))
)

The message that will be used for the create action in the edit pop-up Menu.

C#
public OrgChartMessagesSettingsBuilder<T> Create(string value)
Parameters:valuestring

The value that configures the create.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Create("Add"))
)

The message that will be used for the destroy action in the edit pop-up Menu.

C#
public OrgChartMessagesSettingsBuilder<T> Destroy(string value)
Parameters:valuestring

The value that configures the destroy.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Destroy("Remove"))
)

The message that will be used for the destroy confirmation pop-up content.

C#
public OrgChartMessagesSettingsBuilder<T> DestroyContent(string value)
Parameters:valuestring

The value that configures the destroycontent.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.DestroyContent("Remove content"))
)

The message that will be used for the destroy confirmation pop-up title.

C#
public OrgChartMessagesSettingsBuilder<T> DestroyTitle(string value)
Parameters:valuestring

The value that configures the destroytitle.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.DestroyTitle("Remove title"))
)

The message that will be used for the edit action in the edit pop-up Menu.

C#
public OrgChartMessagesSettingsBuilder<T> Edit(string value)
Parameters:valuestring

The value that configures the edit.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Edit("Change"))
)

The message that will be used to label the Expand button.

C#
public OrgChartMessagesSettingsBuilder<T> Expand(string value)
Parameters:valuestring

The value that configures the expand.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Expand("Open"))
)

The label that will be used for the aria-label value of the OrgChart widget.

C#
public OrgChartMessagesSettingsBuilder<T> Label(string value)
Parameters:valuestring

The value that configures the label.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Label("Employee"))
)

The message that will be used for the aria-label of the edit pop-up Menu.

C#
public OrgChartMessagesSettingsBuilder<T> MenuLabel(string value)
Parameters:valuestring

The value that configures the menulabel.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.MenuLabel("Employees"))
)

The message that will be used for the "name" text.

C#
public OrgChartMessagesSettingsBuilder<T> Name(string value)
Parameters:valuestring

The value that configures the name.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Name("Full name"))
)

The message that will be used in the Parent DropDownList editor to specify the null option (no parent).

C#
public OrgChartMessagesSettingsBuilder<T> None(string value)
Parameters:valuestring

The value that configures the none.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.None("No data"))
)

The message that will be used for the "parent" text.

C#
public OrgChartMessagesSettingsBuilder<T> Parent(string value)
Parameters:valuestring

The value that configures the parent.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Parent("Manager"))
)

The message that will be used for save action button text.

C#
public OrgChartMessagesSettingsBuilder<T> Save(string value)
Parameters:valuestring

The value that configures the save.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Save("Save changes"))
)

The message that will be used for the "title" text.

C#
public OrgChartMessagesSettingsBuilder<T> Title(string value)
Parameters:valuestring

The value that configures the title.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.Title("Category"))
)

The message that will be used for the avatar Upload's label.

C#
public OrgChartMessagesSettingsBuilder<T> UploadAvatar(string value)
Parameters:valuestring

The value that configures the uploadavatar.

Returns:

OrgChartMessagesSettingsBuilder<T>

Example:
C#
@( Html.Kendo().OrgChart()
.Name("OrgChart")
.Messages(m =&gt; m.UploadAvatar("Avatar"))
)