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.2.dll
Declaration
[DefaultValue(false)]
[DXCategory("Behavior")]
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. |
Remarks
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.