Kendo UI DiagramSelectableSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramSelectableSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramSelectableSettings<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramSelectableSettings()
Properties
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
public bool? Enabled { get; set; }
Fill
DiagramSelectableFillSettings<TShapeModel, TConnectionModel>
Defines the fill configuration for the selection rectangle.
public DiagramSelectableFillSettings<TShapeModel, TConnectionModel> Fill { get; }
The selectable key.
public DiagramSelectableKey? Key { get; set; }
Specifies if the multiple selection should be enabled.
public bool? Multiple { get; set; }
Defines the offset (in pixels) of the selection rectangle from the shape bounds.
public double? Offset { get; set; }
Stroke
DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel>
Defines the selection line configuration.
public DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel> Stroke { get; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()