OrgChartMessagesSettingsBuilder

Methods

Label(System.String)

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

Parameters

value - System.String

The value that configures the label.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Label("Employee"))
            )
             

Create(System.String)

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

Parameters

value - System.String

The value that configures the create.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Create("Add"))
            )
             

Edit(System.String)

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

Parameters

value - System.String

The value that configures the edit.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Edit("Change"))
            )
             

Destroy(System.String)

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

Parameters

value - System.String

The value that configures the destroy.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Destroy("Remove"))
            )
             

DestroyContent(System.String)

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

Parameters

value - System.String

The value that configures the destroycontent.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.DestroyContent("Remove content"))
            )
             

DestroyTitle(System.String)

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

Parameters

value - System.String

The value that configures the destroytitle.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.DestroyTitle("Remove title"))
            )
             

Cancel(System.String)

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

Parameters

value - System.String

The value that configures the cancel.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Cancel("Cancel changes"))
            )
             

Save(System.String)

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

Parameters

value - System.String

The value that configures the save.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Save("Save changes"))
            )
             

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

Parameters

value - System.String

The value that configures the menulabel.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.MenuLabel("Employees"))
            )
             

UploadAvatar(System.String)

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

Parameters

value - System.String

The value that configures the uploadavatar.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.UploadAvatar("Avatar"))
            )
             

Parent(System.String)

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

Parameters

value - System.String

The value that configures the parent.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Parent("Manager"))
            )
             

Name(System.String)

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

Parameters

value - System.String

The value that configures the name.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Name("Full name"))
            )
             

Title(System.String)

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

Parameters

value - System.String

The value that configures the title.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Title("Category"))
            )
             

None(System.String)

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

Parameters

value - System.String

The value that configures the none.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.None("No data"))
            )
             

Expand(System.String)

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

Parameters

value - System.String

The value that configures the expand.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Expand("Open"))
            )
             

Collapse(System.String)

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

Parameters

value - System.String

The value that configures the collapse.

Example

Razor
 
             @( Html.Kendo().OrgChart()
                        .Name("OrgChart")
                        .Messages(m => m.Collapse("Close"))
            )