WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContainerViewModel

    Show / Hide Table of Contents

    Class ContainerViewModel

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

    Inheritance
    System.Object
    DiagramElementViewModel
    GroupableViewModel
    NodeViewModel
    GroupViewModel
    ContainerViewModel
    Implements
    IContainer
    IGroup
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    GroupViewModel.Nodes
    GroupViewModel.Connectors
    GroupViewModel.Groups
    GroupViewModel.Padding
    NodeViewModel.OffsetX
    NodeViewModel.OffsetY
    NodeViewModel.RotateAngle
    NodeViewModel.SnapToObject
    NodeViewModel.Flip
    NodeViewModel.MinWidth
    NodeViewModel.MaxWidth
    NodeViewModel.UnitWidth
    NodeViewModel.MinHeight
    NodeViewModel.MaxHeight
    NodeViewModel.UnitHeight
    NodeViewModel.Content
    NodeViewModel.ContentTemplate
    NodeViewModel.Shape
    NodeViewModel.ShapeStyle
    NodeViewModel.IsExpanded
    NodeViewModel.Pivot
    NodeViewModel.Constraints
    NodeViewModel.AnnotationConstraints
    NodeViewModel.PortVisibility
    NodeViewModel.Ports
    NodeViewModel.ConnectorPadding
    NodeViewModel.Menu
    NodeViewModel.FlipMode
    NodeViewModel.HitPadding
    NodeViewModel.ThemeStyleId
    NodeViewModel.LaneOffsetX
    NodeViewModel.LaneOffsetY
    NodeViewModel.Annotations
    NodeViewModel.ParentGroup
    GroupableViewModel.Name
    GroupableViewModel.SearchTags
    GroupableViewModel.IsSelected
    GroupableViewModel.ZIndex
    DiagramElementViewModel.OnPropertyChanged(String)
    DiagramElementViewModel.ID
    DiagramElementViewModel.Key
    DiagramElementViewModel.Info
    DiagramElementViewModel.PropertyChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class ContainerViewModel : GroupViewModel, 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

    ContainerViewModel()

    Creates new instance of ContainerViewModel class.

    Declaration
    public ContainerViewModel()

    Properties

    Header

    Declaration
    public IContainerHeader Header { get; set; }
    Property Value
    Type Description
    IContainerHeader

    Implements

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