menu

WinForms

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

    Show / Hide Table of Contents

    Class Binding

    Class to bind the data when defined the DataSource

    Inheritance
    System.Object
    Binding
    Implements
    System.IDisposable
    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.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public class Binding : IDisposable

    Constructors

    Binding()

    Initialize the class members

    Declaration
    public Binding()

    Binding(Diagram)

    Initialize the class members

    Declaration
    public Binding(Diagram diagram)
    Parameters
    Type Name Description
    Diagram diagram

    diagram

    Properties

    DataSource

    Get/Set the datasource value for Bind the data with parent child relation

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

    DefaultConnector

    get/Set the connector value

    Declaration
    public ConnectorBase DefaultConnector { get; set; }
    Property Value
    Type
    ConnectorBase

    DefaultNode

    Get/Set the Shape of node

    Declaration
    public Node DefaultNode { get; set; }
    Property Value
    Type
    Node

    Diagram

    Get/Set Diagram

    Declaration
    public Diagram Diagram { get; set; }
    Property Value
    Type
    Diagram

    Id

    Get/Set unique id of data source item

    Declaration
    public string Id { get; set; }
    Property Value
    Type
    System.String

    Label

    Get/Set the list of label string

    Declaration
    public List<string> Label { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<System.String>

    ParentId

    Get/Set the parent id of data source item

    Declaration
    public string ParentId { get; set; }
    Property Value
    Type
    System.String

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Implements

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