Skip to main content
A newer version of this page is available. .

DiagramControl.AttachToForm() Method

Binds the form’s Text property to the name of the current document and subscribes the diagram to the form’s OnClosing event. When the end-user attempts to close the window with the diagram that contains unsaved changes, a dialog window is invoked prompting the user to save changes.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

public void AttachToForm()
See Also