Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2765
How to close all the tabs under TabbedMDI??
posted

I am trying to find out a way to close all the open MDI tabs in a single click .i got one property ActiveTab but i am unable to find whole tab collection. Is there anyway to close all the tabs under TabbedMDi without iterating each tab's close property? Also if someone knows about how to get tab collection from TabbedMDI. Pleae share it?

 

Thanks--

Parents
No Data
Reply
  • 10880
    posted

    The tabs reside in the tab groups which is off the manager.

    You can loop through the ultraTabbedMdiManager1.TabGroups and access the MdiTab items off the Tabs collection.

    so

    ultraTabbedMdiManager1.TabGroups[0].Tabs[0] would be the first tab in the first group.

Children