Class ContainerViewModel
Represents the graphical objects used to visually group the logically-related diagram elements on the page.
Inheritance
System.Object
ContainerViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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
System.ComponentModel.INotifyPropertyChanged