Class DiagramElementViewModel
Base for the Nodes,Connector and Group
Inheritance
System.Object
DiagramElementViewModel
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DiagramElementViewModel : Object, 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
System.ComponentModel.INotifyPropertyChanged