menu

WPF

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

    Show / Hide Table of Contents

    Class DataSourceSettings

    Represents to populate the Diagram with Node from an external hierarchical data source.

    Inheritance
    System.Object
    DataSourceSettings
    FlowchartDataSourceSettings
    Implements
    IDataSourceSettings
    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 DataSourceSettings : 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

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