menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Group - API Reference

    Show / Hide Table of Contents

    Class Group

    Represents a cluster multiple nodes and connectors into a single element. It acts like a container for its children (nodes, groups, and connectors).

    Inheritance
    System.Object
    Node
    Group
    BpmnGroup
    Container
    Selector
    Implements
    System.IDisposable
    IGroup
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    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.OnApplyTemplate()
    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 Group : Node, ISharedData, IDisposable, IGroupView, INodeView, IView, IGroup, INode, IGroupable, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    Group()

    Declaration
    public Group()

    Fields

    ConnectorsProperty

    Using a DependencyProperty as the backing store for Connectors. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ConnectorsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    GroupsProperty

    Using a DependencyProperty as the backing store for Groups. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty GroupsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    NodesProperty

    Using a DependencyProperty as the backing store for Nodes. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty NodesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Connectors

    Gets or sets a collection of objects where each object represents a IConnector.

    Declaration
    public object Connectors { get; set; }
    Property Value
    Type Description
    System.Object

    Groups

    Gets or sets a collection of objects where each object represents a IGroup.

    Declaration
    public object Groups { get; set; }
    Property Value
    Type Description
    System.Object

    Nodes

    Gets or sets a collection of objects where each object represents a INode.

    Declaration
    public object Nodes { get; set; }
    Property Value
    Type Description
    System.Object

    Methods

    MeasureOverride(Size)

    Method to measure size of Group class elements.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    Size to be measure.

    Returns
    Type Description
    System.Windows.Size

    Return measured size.

    Overrides
    Node.MeasureOverride(Size)

    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
    IGroup
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved