Hi,
I have a UltraTabControl with around 5 or 6 tabs.
I am aware there is already a dropdown button that lets the user select from all the visible tabs.
I have been asked to add a new feature for one of our tabs (lets call it Tab3 since it is the third tab in the control).
Tab3's TabPageControl contains information that can be displayed in more than one view.
So far I have created separate tabs for each view. What I'd like to do is combine all views under Tab3 and put a dropdown next to Tab3 to switch between the views.
My current thought is to put a DropDownButton next to Tab3 with all the available views, and still keep each view in a separate tab.
All but the selected view will be hidde.
What's the best way to do this? Or is there a better more efficient way than what I am proposing?
Thanks,
Jason
Dear Jason,
Thank you for contacting Infragistics!
I put together a small sample to show how you can achieve the behavior you described.
Please let me know if this works for your case.
Sincerely
Ammar Zuriki
Senior Manager
NetAdvantage for Windows Forms
NUCLiOS – INFRAGISTICS iOS controls
TestAdvantage for Windows Forms, HP, IBM
TestAdvantage for WPF (HP)
That works pretty well.
The only concern I have is that my UltraTabControl is inside a DockWindow, and I'm not sure how to calculate the location/size of the DropDownButton.
Especially if the dockwindow is moved around.
How do I figure this out?
Also, is there a way to show the scrollbuttons that appear in the Design view?(When I set the ShowTabListButton to True it doesn't seem to do anything with the UltraTabControl style set to Wizard style.)
Thanks,Jason