I think this is similar to http://ko.infragistics.com/community/forums/t/79405.aspx but that post lead more into themes.
This is the scenario, with an attached project to reproduce the behavior:
1. Create a XamTabControl with 2 TabItemEx tabs in it.
2. Put different content in each of the tab's content areas
3. Put the focus on either tab, and you'll see the tab's content as expected
4. Change the visibility of the selected tab to either collapsed or hidden
5. The issue: The collapsed/hidden tab object still has the content being displayed
I'm using VS2013 & Infragistics 14.1. The attached project reproduces the behavior 100% of the time and it's pure XAML.
With regards to #5, With the heiarchy of what's below, the content should also reflect the TabItemEx's visibility since it is a child object (or so I think).
tab control
tab <-- visibility is set at this level
header
content
Would anyone have any suggestions, or work arounds?
Hello jrelyea,
Thank you for your post!
I have been looking into your issue. Currently the TabItemEx represents the header of the tab. The content of the Tab is presented by the XamTabControl itself. This content of the tabs is presented by a ContentPresenter. It is placed right below the headers of the xamTabControl. When you set the Visibility of the TabItemEx to Collapse or Hidded it is expected the header to hide. The content is presented by the ContentPresenter and it is expected to be visible when the tab is selected.
Please do not hesitate to let me know if you have any further questions on this matter.
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.