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

Defines the fluent API for configuring DiagramShapeEditableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeEditableSettingsBuilder method.

C#
public DiagramShapeEditableSettingsBuilder(DiagramShapeEditableSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeEditableSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeEditableSettings<TShapeModel, TConnectionModel>

Container member.

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

Methods

Specifies whether the connectors should appear on hover. If set to false, the user will not be able to create new connections from this shape to other shapes. Also, it will not be possible to change the connector of an existing connection between this and another shape.

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

The value for Connect

Returns:

DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Specifies the toolbar tools. Provides all options supported for toolbar.items. 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 degree. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degree..

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

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

Returns:

DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>

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