Defines the fluent API for configuring DiagramConnectionEditableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramConnectionEditableSettingsBuilder method.
public DiagramConnectionEditableSettingsBuilder(DiagramConnectionEditableSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionEditableSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionEditableSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies if the connection can be dragged.
public DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
The value for Drag
Returns:DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
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 DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> Points(Action<DiagramConnectionEditablePointsSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionEditablePointsSettingsBuilder<TShapeModel, TConnectionModel> for the points setting.
Returns:DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionEditableSettingsBuilder<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 DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> Points(bool enabled)
Enables or disables the points option.
Returns:DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionEditablePointsSettingsBuilder<TShapeModel, TConnectionModel> .
Specifies if the connection can be removed.
public DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
The value for Remove
Returns:DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toolbar tools. Supports all options supported for the toolbar.items. Predefined tools are: "edit" - The selected item can be edited or "delete" - The selected items can be deleted.
public DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramConnectionEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionEditableSettingsToolFactory<TShapeModel, TConnectionModel> for the tools setting.
Returns:DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionEditableSettingsBuilder<TShapeModel, TConnectionModel> .