Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsSettingsBuilder
Defines the fluent API for configuring DiagramShapeDefaultsSettings
Methods
Connectors(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsSettingsConnectorFactory<T,T>>)
Defines the connectors the shape owns. A connector is the point in the shape where a connection between this shape and another one can originate from or end. "top" - top connector.; "right" - right connector.; "bottom" - bottom connector.; "bottomRight" - bottom right connector.; "left" - left connector. or "auto" - auto connector.. You can define your own custom connectors or use the predefined types.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsSettingsConnectorFactory>
The configurator for the connectors setting.
ConnectorDefaults(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsConnectorDefaultsSettingsBuilder<T,T>>)
Defines the default options for the shape connectors.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsConnectorDefaultsSettingsBuilder>
The configurator for the connectordefaults setting.
Content(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsContentSettingsBuilder<T,T>>)
Defines the default shapes content settings.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsContentSettingsBuilder>
The configurator for the content setting.
Editable(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsEditableSettingsBuilder<T,T>>)
Defines the shape editable options.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsEditableSettingsBuilder>
The configurator for the editable setting.
Editable(System.Boolean)
Defines the shape editable options.
Parameters
enabled System.Boolean
Enables or disables the editable option.
Fill(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsFillSettingsBuilder<T,T>>)
Defines the fill options of the shape. Use these settings to apply a single-color or a gradient background to all shapes in the Diagram.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsFillSettingsBuilder>
The configurator for the fill setting.
Height(System.Double)
Defines the default height of shapes in the Diagram.
Parameters
value System.Double
The value for Height
Hover(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsHoverSettingsBuilder<T,T>>)
Defines the hover configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsHoverSettingsBuilder>
The configurator for the hover setting.
MinHeight(System.Double)
Defines the minimum height the shape can have. Use this setting to apply a lower limit to the height of shapes when users resize them.
Parameters
value System.Double
The value for MinHeight
MinWidth(System.Double)
Defines the minimum width the shape can have. Use this setting to apply a lower limit to the width of shapes when users resize them.
Parameters
value System.Double
The value for MinWidth
Path(System.String)
The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (https://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").
Parameters
value System.String
The value for Path
Rotation(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsRotationSettingsBuilder<T,T>>)
Defines the rotation of the shape.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsRotationSettingsBuilder>
The configurator for the rotation setting.
Selectable(System.Boolean)
Specifies if Diagram shapes can be selected.
Parameters
value System.Boolean
The value for Selectable
Source(System.String)
The path/URL to the shape image. Applicable when the type is set to "image".
Parameters
value System.String
The value for Source
Stroke(System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsStrokeSettingsBuilder<T,T>>)
Defines the configuration of the border around Diagram shapes.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsStrokeSettingsBuilder>
The configurator for the stroke setting.
Type(System.String)
Specifies the type of the Shape using any of the built-in shape type. "rectangle": this is the default option; "circle": a circle/ellipse; "image": an image or "text": some text.
Parameters
value System.String
The value for Type
Visual(System.String)
A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
Visual(System.Func<System.Object,System.Object>)
A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Width(System.Double)
Defines the default width of shapes in the Diagram.
Parameters
value System.Double
The value for Width
X(System.Double)
Defines the x-coordinate of shapes added to the Diagram.
Parameters
value System.Double
The value for X
Y(System.Double)
Defines the y-coordinate of shapes added to the Diagram.
Parameters
value System.Double
The value for Y