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

Defines the fluent API for configuring DiagramShapeDefaultsEditableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeDefaultsEditableSettingsBuilder method.

C#
public DiagramShapeDefaultsEditableSettingsBuilder(DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel>

Container member.

C#
protected DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

Specifies if new connections can be added using the shapes connectors.

C#
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Connect(bool value)
Parameters:valuebool

The value for Connect

Returns:

DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Specifies if the shapes can be dragged.

C#
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
Parameters:valuebool

The value for Drag

Returns:

DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Specifies if the shapes can be removed.

C#
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
Parameters:valuebool

The value for Remove

Returns:

DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Specifies the toolbar tools. Provides all options that are supported for toolbar.items. If set to false, no edit tools will be displayed.The predefined tools are: "edit" - The selected item can be edited.; "delete" - The selected items can be deleted.; "rotateClockwise" - The selected items can be rotated clockwise. The default rotation value is 90 degrees. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degrees..

C#
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>>

The DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel> for the tools setting.

Returns:

DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> .