Defines the fluent API for configuring the DiagramShapeDefaultsEditableSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsEditableSettingsBuilder(DiagramShapeDefaultsEditableSettings settings)
Methods
Specifies if new connections can be added using the shapes connectors.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Connect(bool value)
The value that enables or disables the connect option.
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies if the shapes can be dragged.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
The value that enables or disables the drag option.
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies if the shapes can be removed.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
The value that enables or disables the remove option.
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies the default toolbar tools.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The action that configures the tools.
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>