Defines the fluent API for configuring DiagramShapeDefaultsEditableSettings
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
DiagramShapeDefaultsEditableSettingsBuilder method.
public DiagramShapeDefaultsEditableSettingsBuilder(DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeDefaultsEditableSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies if new connections can be added using the shapes connectors.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Connect(bool value)
The value for Connect
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the shapes can be dragged.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Drag(bool value)
The value for Drag
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the shapes can be removed.
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Remove(bool value)
The value for Remove
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toolbar tools. Provides all options that are supported for toolbar.items. If set to false, no edit tools will be displayed.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 degrees. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degrees..
public DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsEditableSettingsToolFactory<TShapeModel, TConnectionModel> for the tools setting.
Returns:DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel> .