ClassDiagramShapeEditableDescriptor
Controls which aspects of a diagram shape users can edit interactively. Use this to enable or disable editing of shape position, size, rotation, content, connectors, and other properties. Allows granular control over user interaction capabilities, such as dragging, resizing, rotating, or connecting shapes.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class DiagramShapeEditableDescriptor : DataVizChildComponentDescriptor
Inheritance: objectDataVizChildComponentDescriptorDiagramShapeEditableDescriptor
Constructors
DiagramShapeEditableDescriptor()
Declaration
public DiagramShapeEditableDescriptor()
Properties
Connect
Controls whether connection points (connectors) appear when hovering over the shape. When set to false, users cannot create new connections from this shape or modify existing connection endpoints. Set to false for shapes that should not participate in connections, such as decorative elements or labels.
Drag
Controls whether users can drag the shape to reposition it within the diagram. When set to false, the shape remains fixed at its current position. Set to false for anchor shapes or background elements that should maintain their position.
Enabled
Remove
Controls whether users can delete the shape from the diagram. When set to false, the shape cannot be removed using the Delete key or context menu. Set to false for essential shapes that must remain in the diagram.
Methods
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns