New to Telerik UI for BlazorStart a free 30-day trial

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:

C#
public class DiagramShapeEditableDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramShapeEditableDescriptor

Constructors

C#
public DiagramShapeEditableDescriptor()

Methods

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

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.

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

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.

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

Enables or disables all editing interactions for the shape. When set to false, the shape becomes read-only and users cannot drag, connect, or remove it. Individual editing features can be controlled more granularly using Connect, Drag, and Remove properties.

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

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.

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