Windows opened inside the C1DockTabItem are hiding on dock state change

Posted by: rambabu on 28 July 2023, 6:40 am EST

    • Post Options:
    • Link

    Posted 28 July 2023, 6:40 am EST

    Hello,

    I am trying open C1Window inside the C1DockTabItem, but when I change the state from float to dock the window gets hidden,

    Can you please let me know if there is any solution to this attached is the video link and the code for the project.

    https://www.awesomescreenshot.com/video/19513375?key=28cbbdb19dff3d1e3314fc0e2d8a4383

  • Posted 30 July 2023, 7:55 pm EST

    Hi Rambabu,

    We request you provide us with the sample application. This will help us better understand your project’s implementation, and after analyzing the sample, we can suggest you possible solutions.

    Thanks & Regards,

    Aastha

  • Posted 31 July 2023, 7:37 am EST

    Hello, Please find the attached solutionDockingExplorer (2).zip

  • Posted 31 July 2023, 10:21 pm EST - Updated 31 July 2023, 10:28 pm EST

    Hi Rambabu,

    This is the design behavior of the C1DockControl.

    When a dock tab item is changed to a ‘floating’ state, it transforms into a separate window. In the given use-case scenario, this newly created window is then added to the MainWindow’s OwnedWindows collection. Upon clicking a button inside this window, a child window is generated. The following GIF shows that the newly created window is linked as a child window to the floating window from which it was generated.

    However, if the dock state of the parent window is later changed to ‘docking’, the window is taken out from the MainWindow’s OwnedWindows collection, which consequently removes the child window as well.

    Hence, it is the desired behavior that the new window gets hidden when the dock state of the corresponding floating window is changed to ‘Docking’.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels