DiagramControl.AttachToWindow() Method

Binds the window's Title property to the name of the current document and subscribes the diagram to the window's Closing 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.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll

Declaration

public void AttachToWindow()
Public Sub AttachToWindow
See Also