windowsforms-devexpress-dot-xtraeditors-dot-xtraform-512d3ab4.md
Gets or sets whether the caption of the currently active multiple-document interface (MDI) child is merged with the MDI parent caption, and shown in the form’s title bar.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowMdiChildCaptionInParentTitle { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Overridable Property ShowMdiChildCaptionInParentTitle As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the MDI child caption is merged with the MDI parent caption; otherwise, false.
|
By default, the caption of the currently active MDI child is not displayed in the XtraForm‘s the title bar. In the figure below, you can see the MDI parent form displaying its caption Form1, while the caption document1 of the active MDI child is not displayed in the title bar.
Set the ShowMdiChildCaptionInParentTitle property to true to merge the MDI parent and child captions, and show the resulting string in the title bar. See the figure below.
By default, the resulting string is composed of the child caption preceding the parent caption separated by a hyphen. You can use the XtraForm.MdiChildCaptionFormatString property to provide a custom composite format string.
Important
The ShowMdiChildCaptionInParentTitle property should be used for the parent MDI form only. Setting this property for child MDI windows to true gives no effect.
See Also