Defines the fluent API for configuring DiagramShapeDefaultsSettingsConnector
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeDefaultsSettingsConnectorBuilder method.
public DiagramShapeDefaultsSettingsConnectorBuilder(DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the fill options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeDefaultsConnectorFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsConnectorFillSettingsBuilder<TShapeModel, TConnectionModel> for the fill setting.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> .
Defines the fill options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Fill(string fill)
The fill.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> .
Defines the height of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Height(double value)
The value for Height
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.
Defines the hover configuration of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeDefaultsConnectorHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsConnectorHoverSettingsBuilder<TShapeModel, TConnectionModel> for the hover setting.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> .
The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Name(string value)
The value for Name
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.
Defines the offset applied to the connector position. The offset pushes the connector away from the shape edge by the specified number of pixels in the direction appropriate for the connector's position (e.g., upward for "top", downward for "bottom", etc.).
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value for Offset
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.
The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.
The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.
Defines the stroke options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeDefaultsConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> for the stroke setting.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> .
Defines the stroke options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Stroke(string stroke)
The stroke.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> .
Defines the width of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.