DiagramShape
Defines the shape options.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DiagramShape : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerDiagramShape
Implements:
Inherited Members
Constructors
public DiagramShape()
Properties
Defines default options for the shape connectors.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectorDefaults ConnectorDefaultsSettings { get; }
Defines the connectors the shape owns.
[PersistenceMode(PersistenceMode.InnerProperty)]
public DiagramShapeConnectorsCollection ConnectorsCollection { get; }
Defines the shapes content settings.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeContent ContentSettings { get; }
Specifies editable properties for shapes
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeEditable EditableSettings { get; }
Defines the fill options of the shape.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeFill FillSettings { get; }
Defines the height of the shape when added to the diagram.
public double Height { get; set; }
Defines the hover configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeHover HoverSettings { get; }
Defines the minimum height the shape should have, i.e. it cannot be resized to a value smaller than the given one.
public double MinHeight { get; set; }
Defines the minimum width the shape should have, i.e. it cannot be resized to a value smaller than the given one.
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 (http://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").
public string Path { get; set; }
Defines the rotation applied to the shape.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeRotation RotationSettings { get; }
Specifies if the shape can be selected.
public bool Selectable { get; set; }
Defines the stroke configuration.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ShapeStroke StrokeSettings { get; }
Specifies the type of the Shape using any of the built-in shape type.
public string Type { get; set; }
A function returning a visual element to render for this shape.
public string Visual { get; set; }
Defines the width of the shape when added to the diagram.
public double Width { get; set; }
Defines the x-coordinate of the shape when added to the diagram.
public double X { get; set; }
Methods
protected override void TrackViewState()
Overrides: