Defines the fluent API for configuring the DiagramShapeDefaultsSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsSettingsBuilder(DiagramShapeDefaultsSettings settings)
Methods
Defines accessibility options for shapes.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Accessibility(Action<DiagramShapeDefaultsAccessibilitySettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the accessibility.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the center position of the shape. Applicable for the circle shape.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Center(Action<DiagramShapeDefaultsCenterSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the center.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default options for the shape connectors.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> ConnectorDefaults(Action<DiagramShapeDefaultsConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the default shape connectors options.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
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.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Connectors(Action<DiagramShapeDefaultsSettingsConnectorFactory<TShapeModel, TConnectionModel>> configurator)
The action that configures the connectors.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default shapes content settings.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Content(Action<DiagramShapeDefaultsContentSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the content settings.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the corner radius of the shape.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> CornerRadius(double value)
The value that configures the corner radius.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the shape editable options.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Editable(Action<DiagramShapeDefaultsEditableSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the editable settings.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the shape editable options.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Editable(bool enabled)
The value that enables or disables the shape editing.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the fill options of the shape. Use this option to apply a single-color or a gradient background to all shapes in the Diagram.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the fill settings.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default height of shapes in the Diagram.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Height(double value)
The value that configures the height.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default hover settings.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the hover settings.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the minimum height the shape can have. Use this option to apply a lower limit to the height of shapes when users resize them.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> MinHeight(double value)
The value that configures the minimum height.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the minimum width the shape can have. Use this option to apply a lower limit to the width of shapes when users resize them.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> MinWidth(double value)
The value that configures the minimum width.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Sets the path option of the shapes, which is a description of a custom geometry. The format follows the standard SVG format (http://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Path(string value)
The value that configures the path.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the radius of the shape. Applicable for the circle shape.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
The value that configures the radius.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default rotation of the shapes.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Rotation(Action<DiagramShapeDefaultsRotationSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the rotation.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Specifies if Diagram shapes can be selected.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Selectable(bool value)
The value that configures the selectable.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Sets the path/URL to the shape image. The option applies when the shape type is "image".
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Source(string value)
The value that configures the source.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the configuration of the border around Diagram shapes.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the stroke.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Specifies the type of the Diagram 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.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Type(DiagramShapeType value)
The value for Type
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeBuilder<TShapeModel, TConnectionModel> instance.
Specifies the type of the Workflow Shape type using any of the built-in shape types. Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Type(FlowchartShapeType value)
The value for Type
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsSettings<TShapeModel, TConnectionModel> instance.
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. Or common workflow shapes as: Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention..
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
The value that configures the type.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines a JavaScript function that returns a visual element to render for a given shape.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Visual(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines a JavaScript function that returns a visual element to render for a given shape.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Visual(string visualHandler)
The name of the JavaScript function that will create the visual element.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the default width of shapes in the Diagram.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the x-coordinate of the shapes added to the Diagram.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> X(double value)
The value that configures the x-coordinate.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the y-coordinate of shapes added to the Diagram.
public DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Y(double value)
The value that configures the y-coordinate.
Returns:DiagramShapeDefaultsSettingsBuilder<TShapeModel, TConnectionModel>