Defines the fluent API for configuring DiagramShapeEditableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeEditableSettingsBuilder method.
public DiagramShapeEditableSettingsBuilder(DiagramShapeEditableSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeEditableSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeEditableSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies whether the connectors should appear on hover. If set to false, the user will not be able to create new connections from this shape to other shapes. Also, it will not be possible to change the connector of an existing connection between this and another shape.
public DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> Connect(bool value)
The value for Connect
Returns:DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toolbar tools. Provides all options supported for toolbar.items. 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 degree. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degree..
public DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> Tools(Action<DiagramShapeEditableSettingsToolFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeEditableSettingsToolFactory<TShapeModel, TConnectionModel> for the tools setting.
Returns:DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeEditableSettingsBuilder<TShapeModel, TConnectionModel> .