menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramElement - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramElement

    The basic UI building blocks in a diagram node or connector are diagram elements. To create a node or connector, multiple DiagramElements can be combined.

    Inheritance
    System.Object
    CommonElement
    DiagramElement
    DiagramContainer
    DiagramHtmlElement
    DiagramSvgElement
    ImageElement
    PathElement
    TextElement
    Inherited Members
    CommonElement.ActualSize
    CommonElement.Bounds
    CommonElement.CornerRadius
    CommonElement.DesiredSize
    CommonElement.Flip
    CommonElement.FlipMode
    CommonElement.Height
    CommonElement.HorizontalAlignment
    CommonElement.ID
    CommonElement.IsDirt
    CommonElement.Margin
    CommonElement.MaxHeight
    CommonElement.MaxWidth
    CommonElement.MinHeight
    CommonElement.MinWidth
    CommonElement.OffsetX
    CommonElement.OffsetY
    CommonElement.OuterBounds
    CommonElement.ParentID
    CommonElement.Pivot
    CommonElement.RelativeMode
    CommonElement.RotationAngle
    CommonElement.Shadow
    CommonElement.Style
    CommonElement.VerticalAlignment
    CommonElement.Visible
    CommonElement.Width
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DiagramElement : CommonElement
    Remarks

    A diagram element is responsible for sizing and positioning all nodes and connectors. For a node, it has more path element and text elements to render. (path element and text element are inherited from diagram element).

    Constructors

    DiagramElement()

    Initializes a new instance of the DiagramElement.

    Declaration
    public DiagramElement()

    DiagramElement(DiagramElement)

    Creates a new instance of the DiagramElement from the given DiagramElement.

    Declaration
    public DiagramElement(DiagramElement src)
    Parameters
    Type Name Description
    DiagramElement src

    basic unit of diagram.

    Methods

    Clone()

    Creates a new element that is a copy of the current element.

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object

    DiagramElement

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved