Form.ActivateMdiChild Method (Form)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Activates the MDI child of a form.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member ActivateMdiChild : 
        form:Form -> unit


Type: System.Windows.Forms.Form

The child form to activate.

If the form parameter is already the active MDI child form, then the ActivateMdiChild method simply returns. If form is not null, then it is set to be the active MDI child form.

Whether the form parameter is null or not, ActivateMdiChild raises the MdiChildActivate event.

.NET Framework
Available since 1.1
Return to top