Defines the fluent API for configuring DiagramConnectionDefaultsEditableSettings
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
DiagramConnectionDefaultsEditableSettingsBuilder method.
public DiagramConnectionDefaultsEditableSettingsBuilder(DiagramConnectionDefaultsEditableSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionDefaultsEditableSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionDefaultsEditableSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies if the connections can be dragged.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
The value for Drag
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionDefaultsEditableSettingsBuilder<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 DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Points(Action<DiagramConnectionDefaultsEditablePointsSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionDefaultsEditablePointsSettingsBuilder<TShapeModel, TConnectionModel> for the points setting.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of 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>
Returns the current instance of DiagramConnectionDefaultsEditablePointsSettingsBuilder<TShapeModel, TConnectionModel> .
Specifies if the connections can be removed.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
The value for Remove
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toolbar tools. Supports all options supported for the toolbar.items. If set to false, no edit tools will be displayed.Predefined tools are: "edit" - The selected item can be edited or "delete" - The selected items can be deleted.
public DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramConnectionDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel> for the tools setting.
Returns:DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> .