Skip to main content
Bar

BarManager.ActiveMdiChild Property

Gets the currently active multiple document interface (MDI) child window.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[Browsable(false)]
public virtual Form ActiveMdiChild { get; }

Property Value

Type Description
Form

Returns a Form that represents the currently active MDI child window, or a null reference (Nothing in Visual Basic) if there are currently no child windows present.

Remarks

You can use this property to determine whether there are any MDI child forms open in your MDI application. You can also use this property to perform operations on an MDI child window from its MDI parent form or from another form that is displayed in your application.

If the currently active form is not an MDI child form, you can use the ActiveForm property to obtain a reference to it.

See Also