Skip to main content

XtraForm.ShowMdiChildCaptionInParentTitle Property

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.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core


public virtual bool ShowMdiChildCaptionInParentTitle { get; set; }

Property Value

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.


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