menu

WPF

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

    Show / Hide Table of Contents

    Class DiagramElementViewModel

    Base for the Nodes,Connector and Group

    Inheritance
    System.Object
    DiagramElementViewModel
    CommandManager
    ConnectorPortViewModel
    ContainerHeaderViewModel
    DiagramViewModel
    DockPortViewModel
    GroupableViewModel
    NodePortViewModel
    SymbolViewModel
    ToolTip
    Implements
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class DiagramElementViewModel : IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    DiagramElementViewModel()

    Declaration
    public DiagramElementViewModel()

    Properties

    ID

    Gets or sets the unique id of the of the DiagramElement.

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

    Info

    Gets or sets the Info of the DiagramElements.

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

    Key

    Gets or sets the Key of the DiagramElement.

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

    Methods

    OnPropertyChanged(String)

    Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).

    Declaration
    protected virtual void OnPropertyChanged(string name)
    Parameters
    Type Name Description
    System.String name

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved