windowsforms-devexpress-dot-xtradiagram-dot-diagramdatabindingcontroller.md
Gets or sets the data source for connectors.
Namespace : DevExpress.XtraDiagram
Assembly : DevExpress.XtraDiagram.v25.2.dll
NuGet Package : DevExpress.Win.Diagram
[DiagramCategory(DiagramCategory.Data)]
public virtual IEnumerable ConnectorsSource { get; set; }
<DiagramCategory(DiagramCategory.Data)>
Public Overridable Property ConnectorsSource As IEnumerable
| Type | Description |
|---|---|
| IEnumerable |
An IEnumerable object that provides data to the DiagramDataBindingController.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ConnectorsSource property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
diagramDataBindingController1.DataSource = ClassStructureGenerator.ClassList();
diagramDataBindingController1.ConnectorsSource = ClassStructureGenerator.ConnectionList();
How-to-bind-diagram-items-Position/CS/DXSample/Form1.cs#L17
diagramDataBindingController1.KeyMember = "Id";
diagramDataBindingController1.ConnectorsSource = viewModel.Connections;
diagramDataBindingController1.ConnectorFromMember = "From";
winforms-generate-diagram-with-grouped-items/CS/DiagramDataControllerBehavior/Form1.cs#L26
diagramDataBindingController1.DataSource = viewModel.Departments;
diagramDataBindingController1.ConnectorsSource = viewModel.Relations;
diagramDataBindingController1.EndInit();
diagramDataBindingController1.DataSource = ClassStructureGenerator.ClassList()
diagramDataBindingController1.ConnectorsSource = ClassStructureGenerator.ConnectionList()
How-to-bind-diagram-items-Position/VB/DXSample/Form1.vb#L17
diagramDataBindingController1.KeyMember = "Id"
diagramDataBindingController1.ConnectorsSource = viewModel.Connections
diagramDataBindingController1.ConnectorFromMember = "From"
winforms-generate-diagram-with-grouped-items/VB/DiagramDataControllerBehavior/Form1.vb#L28
diagramDataBindingController1.DataSource = viewModel.Departments
diagramDataBindingController1.ConnectorsSource = viewModel.Relations
diagramDataBindingController1.EndInit()
See Also
DiagramDataBindingController Class