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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DiagramShapeDefaultsSettings : JsonObject

Inheritance: objectJsonObjectDiagramShapeDefaultsSettings

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

Constructors

C#
public DiagramShapeDefaultsSettings()

Properties

Defines accessibility options for shapes.

C#
public DiagramShapeDefaultsAccessibilitySettings Accessibility { get; set; }

Defines the center position of the shape. Applicable for the circle shape.

C#
public DiagramShapeDefaultsCenterSettings Center { get; set; }

Defines the default options for the shape connectors.

C#
public DiagramShapeDefaultsConnectorDefaultsSettings ConnectorDefaults { get; set; }

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.

C#
public List<DiagramShapeDefaultsSettingsConnector> Connectors { get; set; }

Defines the default shapes content settings.

C#
public DiagramShapeDefaultsContentSettings Content { get; set; }

Defines the corner radius of the shape.

C#
public double? CornerRadius { get; set; }

Defines the shape editable options.

C#
public DiagramShapeDefaultsEditableSettings Editable { get; set; }
C#
public bool Enabled { get; set; }

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.

C#
public DiagramShapeDefaultsFillSettings Fill { get; set; }

Defines the default height of shapes in the Diagram.

C#
public double? Height { get; set; }

Defines the hover configuration.

C#
public DiagramShapeDefaultsHoverSettings Hover { get; set; }

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.

C#
public double? MinHeight { get; set; }

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.

C#
public double? MinWidth { get; set; }

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.").

C#
public string Path { get; set; }

Defines the radius of the shape. Applicable for the circle shape.

C#
public double? Radius { get; set; }

Defines the rotation of the shape.

C#
public DiagramShapeDefaultsRotationSettings Rotation { get; set; }

Specifies if Diagram shapes can be selected.

C#
public bool? Selectable { get; set; }

The path/URL to the shape image. Applicable when the type is set to "image".

C#
public string Source { get; set; }

Defines the configuration of the border around Diagram shapes.

C#
public DiagramShapeDefaultsStrokeSettings Stroke { get; set; }

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..

C#
public string Type { get; set; }
C#
public ClientHandlerDescriptor Visual { get; set; }

Defines the default width of shapes in the Diagram.

C#
public double? Width { get; set; }

Defines the x-coordinate of shapes added to the Diagram.

C#
public double? X { get; set; }

Defines the y-coordinate of shapes added to the Diagram.

C#
public double? Y { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)