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

Defines the fluent API for configuring DiagramSelectableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramSelectableSettingsBuilder method.

C#
public DiagramSelectableSettingsBuilder(DiagramSelectableSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramSelectableSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramSelectableSettings<TShapeModel, TConnectionModel>

Container member.

C#
protected DiagramSelectableSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

Defines the fill configuration for the selection rectangle.

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramSelectableFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramSelectableFillSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramSelectableFillSettingsBuilder<TShapeModel, TConnectionModel> for the fill setting.

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> .

Defines the fill configuration for the selection rectangle.

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Fill(string fill)
Parameters:fillstring

The fill.

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> .

The selectable key.

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Key(DiagramSelectableKey value)
Parameters:valueDiagramSelectableKey

The value for Key

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Specifies if the multiple selection should be enabled.

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Multiple(bool value)
Parameters:valuebool

The value for Multiple

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> instance.

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

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
Parameters:valuedouble

The value for Offset

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the selection line configuration.

C#
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel> for the stroke setting.

Returns:

DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> .