Class DataSourceSettings
Represents to populate the Diagram with Node from an external hierarchical data source.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DataSourceSettings : Object, IDataSourceSettings, INotifyPropertyChanged
Constructors
DataSourceSettings()
Initializes a new instance of the DataSourceSettings class.
Declaration
public DataSourceSettings()
Properties
DataSource
Gets or sets the data source either as a collection of objects or as an instance.
Declaration
public object DataSource { get; set; }
Property Value
Type |
---|
System.Object |
Id
Gets or sets the unique id of the data source item.
Declaration
public string Id { get; set; }
Property Value
Type |
---|
System.String |
ParentId
Gets or sets the parent id of the data source item.
Declaration
public string ParentId { get; set; }
Property Value
Type |
---|
System.String |
Root
Gets or sets the unique id of the root data source item.
Declaration
public string Root { get; set; }
Property Value
Type |
---|
System.String |
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