Back to Devexpress

DiagramDataBindingControllerBase.EndInit() Method

windowsforms-devexpress-dot-xtradiagram-dot-diagramdatabindingcontrollerbase-a6e43018.md

latest2.8 KB
Original Source

DiagramDataBindingControllerBase.EndInit() Method

Ends the DiagramDataBindingControllerBase‘s initialization.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
public void EndInit()
vb
Public Sub

Remarks

The DiagramDataBindingControllerBase.BeginInit and EndInit methods are designed to prevent a DiagramDataBindingControllerBase from being used until it has been completely initialized.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndInit() method.

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.

winforms-generate-diagram-with-grouped-items/CS/DiagramDataControllerBehavior/Form1.cs#L27

csharp
diagramDataBindingController1.ConnectorsSource = viewModel.Relations;
    diagramDataBindingController1.EndInit();
}

winforms-generate-diagram-with-grouped-items/VB/DiagramDataControllerBehavior/Form1.vb#L29

vb
diagramDataBindingController1.ConnectorsSource = viewModel.Relations
    diagramDataBindingController1.EndInit()
End Sub

See Also

BeginInit()

DiagramDataBindingControllerBase Class

DiagramDataBindingControllerBase Members

DevExpress.XtraDiagram Namespace