Defines the fluent API for configuring DiagramSelectableSettings
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
DiagramSelectableSettingsBuilder method.
public DiagramSelectableSettingsBuilder(DiagramSelectableSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramSelectableSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramSelectableSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the fill configuration for the selection rectangle.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramSelectableFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
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.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Fill(string fill)
The fill.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> .
The selectable key.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Key(DiagramSelectableKey value)
The value for Key
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the multiple selection should be enabled.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Multiple(bool value)
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.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value for Offset
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the selection line configuration.
public DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel> for the stroke setting.
Returns:DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramSelectableSettingsBuilder<TShapeModel, TConnectionModel> .