Defines the fluent API for configuring the DiagramSelectableSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramSelectableSettingsBuilder(DiagramSelectableSettings settings)
Methods
Defines the fill configuration for the selection rectangle.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramSelectableFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the fill.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Defines the meta key when doing a visual selection through drawing a rectangular area around shapes in the canvas. This option does not change the way a single shape is selected when using click or tap. To avoid clashes, verify that the selectable.key and pannable.key are different.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Key(DiagramSelectableKey value)
The value that configures the meta key.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Specifies if the multiple selection must be enabled.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Multiple(bool value)
The value that configures the multiple selection.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Defines the offset (in pixels) of the selection rectangle from the shape bounds.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value that configures the offset.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Defines the selection line configuration.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the stroke settings.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>