Defines the fluent API for configuring the DiagramConnectionDefaultsEditableSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramConnectionDefaultsEditableSettingsBuilder(DiagramConnectionDefaultsEditableSettings settings)
Methods
Specifies if the connections can be dragged by default.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
The value that enables or disables the Drag option.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies whether the connection path can be reshaped by the user. When enabled, dragging a connection handle adds or updates connection points to reflect the new route. User-defined points are shown as hollow circular markers and can be removed by double-clicking them.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Points(Action<DiagramConnectionDefaultsEditablePointsSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the points.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies whether the connection path can be reshaped by the user. When enabled, dragging a connection handle adds or updates connection points to reflect the new route. User-defined points are shown as hollow circular markers and can be removed by double-clicking them.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Points(bool enabled)
Enables or disables the points option.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies if the connections can be removed by default.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
The value that configures the Remove option.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies the default toolbar tools of the connections
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramConnectionDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The action that configures the tools.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>