Arranges the multiple-document interface (MDI) child forms within the MDI parent form.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example shows the event handlers for the menu items of a Window menu in an MDI application's parent form. Each event handler makes calls to the method to arrange any child forms that are currently open in the application.
Private Sub HorizontallyTileMyWindows(sender As Object, e As System.EventArgs) ' Tile all child forms horizontally. Me.LayoutMdi(MdiLayout.TileHorizontal) End Sub 'HorizontallyTileMyWindows Private Sub VerticallyTileMyWindows(sender As Object, e As System.EventArgs) ' Tile all child forms vertically. Me.LayoutMdi(MdiLayout.TileVertical) End Sub 'VerticallyTileMyWindows Private Sub CascadeMyWindows(sender As Object, e As System.EventArgs) ' Cascade all MDI child windows. Me.LayoutMdi(MdiLayout.Cascade) End Sub 'CascadeMyWindows