Hi,
I am using XAMTabControl in my application and want to use stacked Tabs functionality in my application.
I went through the Infragistics documentation and didn't find anything that set TabLayoutStyle to obtain Stacked Tabs functionlaity.
I am using Infragistics V10.2. Please advise.
Thanks,
Rakesh
I'm not sure what you mean by stacked tabs but the only TabLayoutStyle's that will result in multiple rows of tabs are the MultiRowAutoSize and MultiRowSizeToFit. In both of these the # of tabs that will fit in each row will depend upon their desired size (i.e. the size of the content in the header of each tab). If you need a different layout of the tab items then you will likely need to set the ItemsPanel property to an ItemsPanelTemplate that contains another panel (an intrinsic one or your own panel) that will provide the layout that you want.
Thanks for your Reply.
I'm using an Infragistics xamTabControl. I'd like to make the tabs to stack up as opposed to scroll when there is not enough width for all the tabs to show.
When I was searching online, i found the below feature of TabControl in Infragistics website:
But I don't see anything that provides the above functionality. I don't want to scroll horizontally, instead stack the active tabs on top of another. Please advise.
RAKESH
This feature is not available in the xamTabControl. The only control that has that feature built in is the xamDockManager and then only for the TabGroupPanes within the DocumentContentHost just as happens within Visual Studio. Alternatively you could put some element in the PostTabItemContent that would provide the llist. A similar approach is described here.
Sorry for not putting it right.
I don't want to display each tab in seperate row.
I want all the tabs in a single row and if the number of tabs are more then I don't want a scroll bar in the end, instead I want a small list that shows the list of active files on right end of page.
I'm assuming that is referring to the ability to set the TabPlacement to Left/Right. There is no capability in the control itself to have the tabs on top and have each tab item in a separate 'row". If you want that you would have to set the ItemsPanel to an ItemsPanelTemplate that contains a panel that arranges elements like that - maybe you could use a StackPanel.