Back to Devexpress

XtraMdiTabPage.MdiChild Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-beb14c40.md

latest3.7 KB
Original Source

XtraMdiTabPage.MdiChild Property

Gets the multiple document interface (MDI) child form to which the current page corresponds.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public Form MdiChild { get; }
vb
Public ReadOnly Property MdiChild As Form

Property Value

TypeDescription
Form

A Form object which represents the MDI child form to which the created tab page corresponds.

|

Remarks

Use the MdiChild property to access the settings of the MDI child form to which the created tab page corresponds.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MdiChild property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-tabbed-mdi-manager-display-custom-header-button/CS/WindowsFormsApplication32/MyTabbedMdiManager/MyTabbedMdiManager.cs#L54

csharp
menuItem.Image = GetMdiTabPageImage(page);
menuItem.Tag = page.MdiChild;

winforms-tabbed-mdi-manager-custom-tab-header-tooltip/CS/WindowsApplication1/Helper/ThumbnailHintHelper.cs#L42

csharp
ToolTipItem item1 = new ToolTipItem();
item1.Image = ThumbnailHelper.FormToBitmap((page as XtraMdiTabPage).MdiChild, new Size(200, 200));
superTip.Items.Add(item1);

winforms-tabbed-mdi-manager-display-custom-header-button/VB/WindowsFormsApplication32/MyTabbedMdiManager/MyTabbedMdiManager.vb#L46

vb
menuItem.Image = GetMdiTabPageImage(page)
menuItem.Tag = page.MdiChild
Return menuItem

winforms-tabbed-mdi-manager-custom-tab-header-tooltip/VB/WindowsApplication1/Helper/ThumbnailHintHelper.vb#L34

vb
Dim item1 As ToolTipItem = New ToolTipItem()
item1.Image = FormToBitmap(TryCast(page, XtraMdiTabPage).MdiChild, New Size(200, 200))
superTip.Items.Add(item1)

See Also

XtraMdiTabPage Class

XtraMdiTabPage Members

DevExpress.XtraTabbedMdi Namespace