New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI DiagramSelectableSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramSelectableSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramSelectableSettings<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramSelectableSettings()

Properties

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
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.

C#
public bool? Enabled { get; set; }

Fill

DiagramSelectableFillSettings<TShapeModel, TConnectionModel>

Defines the fill configuration for the selection rectangle.

C#
public DiagramSelectableFillSettings<TShapeModel, TConnectionModel> Fill { get; }

The selectable key.

C#
public DiagramSelectableKey? Key { get; set; }

Specifies if the multiple selection should be enabled.

C#
public bool? Multiple { get; set; }

Defines the offset (in pixels) of the selection rectangle from the shape bounds.

C#
public double? Offset { get; set; }

Stroke

DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel>

Defines the selection line configuration.

C#
public DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel> Stroke { get; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>