windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-c05a6e31.md
The document title to which the window title can be bound.
Namespace : DevExpress.XtraDiagram
Assembly : DevExpress.XtraDiagram.v25.2.dll
NuGet Package : DevExpress.Win.Diagram
[Browsable(false)]
public virtual string Title { get; protected set; }
<Browsable(False)>
Public Overridable Property Title As String
| Type | Description |
|---|---|
| String |
A string object that represents the document title.
|
Bind the System.Windows.Forms.Form.Text property to the Title property to use the document title as the window’s title. By default, the Title property returns “Document”. If the current document is saved to or loaded from a file, the Title returns the name of the file. If the current document has unsaved changes (the DiagramControl.HasChanges property returns true ), an asterisk * character is added to the end of the title.
Alternatively, use the DiagramControl.AttachToForm method.
See Also