alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class Shape

    Abstract base for all diagram node shape descriptors. Assign a concrete subtype — BasicShape or FlowShape — to Shape to control what EJ2 renders for that node.

    Inheritance
    System.Object
    DiagramElement
    Shape
    BasicShape
    FlowShape
    Inherited Members
    DiagramElement.OnPropertyChanged(String)
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public abstract class Shape : DiagramElement
    Remarks

    Extends DiagramElement so that any property change on the shape object bubbles up through the owning Node → SfDiagram change pipeline and triggers a JavaScript-side re-render without any extra wiring.

    Constructors

    Shape()

    Declaration
    protected Shape()

    Properties

    Type

    Gets the family this shape belongs to (Basic or Flow). Read-only — determined by the concrete subtype. Used as the EJ2 shape.type discriminator during serialization.

    Declaration
    public abstract NodeShapes Type { get; }
    Property Value
    Type
    NodeShapes
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved