menu

Blazor

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

    Show / Hide Table of Contents

    Class DiagramContainer

    The DiagramContainer is used to group related objects.

    Inheritance
    System.Object
    CommonElement
    DiagramElement
    DiagramContainer
    DiagramCanvas
    StackPanel
    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 DiagramContainer : DiagramElement

    Constructors

    DiagramContainer()

    Initializes a new instance of the DiagramContainer.

    Declaration
    public DiagramContainer()

    DiagramContainer(DiagramContainer)

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

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

    It provides diagramcontainer

    Properties

    Children

    Gets or sets the collection of child elements (DiagramCanvas, Diagram Element).

    Declaration
    public ObservableCollection<CommonElement> Children { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<CommonElement>

    Padding

    Gets or sets the space between the container and its immediate children.

    Declaration
    public DiagramThickness Padding { get; set; }
    Property Value
    Type
    DiagramThickness

    Methods

    Clone()

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

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

    DiagramContainer

    Overrides
    DiagramElement.Clone()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved