WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Container - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Container

    Represents the graphical objects used to visually group the logically-related diagram elements on the page.

    Inheritance
    System.Object
    Node
    Group
    Container
    Implements
    System.IDisposable
    IContainer
    IGroup
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    Group.NodesProperty
    Group.ConnectorsProperty
    Group.GroupsProperty
    Group.MeasureOverride(Size)
    Group.Nodes
    Group.Connectors
    Group.Groups
    Node.OffsetXProperty
    Node.OffsetYProperty
    Node.RotateAngleProperty
    Node.SnapToObjectProperty
    Node.FlipProperty
    Node.UnitWidthProperty
    Node.UnitHeightProperty
    Node.ShapeProperty
    Node.ShapeStyleProperty
    Node.ParentGroupProperty
    Node.IsExpandedProperty
    Node.PivotProperty
    Node.AutoBindProperty
    Node.IDProperty
    Node.KeyProperty
    Node.IsSelectedProperty
    Node.SearchTagsProperty
    Node.ZIndexProperty
    Node.AnnotationsProperty
    Node.ConstraintsProperty
    Node.AnnotationConstraintsProperty
    Node.PortVisibilityProperty
    Node.PortsProperty
    Node.ConnectorPaddingProperty
    Node.MenuProperty
    Node.FlipModeProperty
    Node.HitPaddingProperty
    Node.ThemeStyleIdProperty
    Node.LaneOffsetXProperty
    Node.LaneOffsetYProperty
    Node.BoundsProperty
    Node.OnCreateAutomationPeer()
    Node.OnPropertyChanged(String)
    Node.GetLayoutClip(Size)
    Node.ArrangeOverride(Size)
    Node.OnSnap(List<SnapParameter>, Boolean)
    Node.ShowContextMenu(FrameworkElement, MouseButtonEventArgs)
    Node.GetElementRect(FrameworkElement)
    Node.IDisposable.Dispose()
    Node.OffsetX
    Node.OffsetY
    Node.RotateAngle
    Node.SnapToObject
    Node.Flip
    Node.UnitWidth
    Node.UnitHeight
    Node.Shape
    Node.ShapeStyle
    Node.ParentGroup
    Node.IsExpanded
    Node.Pivot
    Node.ID
    Node.Key
    Node.IsSelected
    Node.SearchTags
    Node.ZIndex
    Node.Annotations
    Node.Constraints
    Node.AnnotationConstraints
    Node.PortVisibility
    Node.Ports
    Node.ConnectorPadding
    Node.Menu
    Node.FlipMode
    Node.HitPadding
    Node.ThemeStyleId
    Node.LaneOffsetX
    Node.LaneOffsetY
    Node.BoundingRectangle
    Node.Info
    Node.IsConnecting
    Node.Bounds
    Node.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class Container : Group, ISharedData, IDisposable, IGroupView, INodeView, IView, IContainer, IGroup, INode, IGroupable, IDiagramElement, IID, INotifyPropertyChanged
    Remarks

    In a Container, each shape can be added or removed simply by dragging them in or out of it. Whereas Group unites several shapes together as a single object which can be moved, resized, or rotated.

    Constructors

    Container()

    Creates a new instance of Container class.

    Declaration
    public Container()

    Methods

    OnApplyTemplate()

    Method to apply template values to Container class.

    Declaration
    public override void OnApplyTemplate()
    Overrides
    Node.OnApplyTemplate()

    Explicit Interface Implementations

    IGroup.get_Padding()

    Declaration
    Thickness IGroup.get_Padding()
    Returns
    Type Description
    System.Windows.Thickness

    IGroup.set_Padding(Thickness)

    Declaration
    void IGroup.set_Padding(Thickness value)
    Parameters
    Type Name Description
    System.Windows.Thickness value

    INode.get_ContentTemplate()

    Declaration
    DataTemplate INode.get_ContentTemplate()
    Returns
    Type Description
    System.Windows.DataTemplate

    INode.get_MaxHeight()

    Declaration
    double INode.get_MaxHeight()
    Returns
    Type Description
    System.Double

    INode.get_MaxWidth()

    Declaration
    double INode.get_MaxWidth()
    Returns
    Type Description
    System.Double

    INode.get_MinHeight()

    Declaration
    double INode.get_MinHeight()
    Returns
    Type Description
    System.Double

    INode.get_MinWidth()

    Declaration
    double INode.get_MinWidth()
    Returns
    Type Description
    System.Double

    INode.set_ContentTemplate(DataTemplate)

    Declaration
    void INode.set_ContentTemplate(DataTemplate value)
    Parameters
    Type Name Description
    System.Windows.DataTemplate value

    INode.set_MaxHeight(Double)

    Declaration
    void INode.set_MaxHeight(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MaxWidth(Double)

    Declaration
    void INode.set_MaxWidth(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MinHeight(Double)

    Declaration
    void INode.set_MinHeight(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MinWidth(Double)

    Declaration
    void INode.set_MinWidth(double value)
    Parameters
    Type Name Description
    System.Double value

    Implements

    System.IDisposable
    IContainer
    IGroup
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved