Skip to content

Desktop Form - auto arrange windows/pages #969

Closed

Description

@itg-assistant

edmond girardi asked 2017-07-28 01:13:22 UTC

I have a Web desktop style application and I'm trying to figure out how to give the user "Tile, Cascade" functionality so they can auto arrange the open forms like a Windows Desktop application allows you to do. Is there an easy way to do this or is this more for the MDI form style ?

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-07-31 00:46:14 UTC

    You can assign ContextMenu to the desktop and add the window-layout options.  The context menu shows up also when right clicking on the task bar.

    To iterate all the windows, use: foreach (Form f in Application.OpenForms). You can query and change the Location, Size, WindowState.

    /Luca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions