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

Defines the fluent API for configuring the OrgChartEditableSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectOrgChartEditableSettingsBuilder<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 OrgChartEditableSettingsBuilder

C#
public OrgChartEditableSettingsBuilder(OrgChartEditableSettings<T> settings, ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:settingsOrgChartEditableSettings<T>

The OrgChartEditableSettings

viewContextViewContextinitializerIJavaScriptInitializerurlGeneratorIUrlGenerator

Methods

Allows the user to create new items as children of existing ones. If set to false, creating new items will not be available in the item edit pop-up menu.

C#
public OrgChartEditableSettingsBuilder<T> Create(bool value)
Parameters:valuebool

The value that configures the create.

Returns:

OrgChartEditableSettingsBuilder<T>

Allows the user to delete items. If set to false, delete item will not be available in the item edit pop-up menu.

C#
public OrgChartEditableSettingsBuilder<T> Destroy(bool value)
Parameters:valuebool

The value that configures the destroy.

Returns:

OrgChartEditableSettingsBuilder<T>

Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.

C#
public OrgChartEditableSettingsBuilder<T> Fields(bool value)
Parameters:valuebool

The value that configures the form.

Returns:

OrgChartEditableSettingsBuilder<T>

Allows the user to edit the title, name, and avatar of the item. If set to false, editing those fields will not be available in the pop-up editor of the widget.

C#
public OrgChartEditableSettingsBuilder<T> Form(Action<FormBuilder<T>> configurator)
Parameters:configuratorAction<FormBuilder<T>>Returns:

OrgChartEditableSettingsBuilder<T>

Allows editing the structure (id/parentId relation). If the parentId has also configuration in the form configuration object, the editable.parent value will be taken into account. If set to false, editing the id/parentId relation will not be available.

C#
public OrgChartEditableSettingsBuilder<T> Parent(bool value)
Parameters:valuebool

The value that configures the parent.

Returns:

OrgChartEditableSettingsBuilder<T>