Back to Devexpress

DiagramControl.Title Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-4205798a.md

latest1.8 KB
Original Source

DiagramControl.Title Property

The document title to which the window title can be bound. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
[Browsable(false)]
public string Title { get; }
vb
<Browsable(False)>
Public ReadOnly Property Title As String

Property Value

TypeDescription
String

A string object that represents the document title.

|

Remarks

Bind the System.Windows.Window.Title 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.AttachToWindow method.

See Also

HasChanges

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace