Hi,
my situation is that I want the first tab alway being visible because it contains stuff that is very important to the user and he always needs access to it.
If a lot of tabs are opened, the user can scroll horizontal and the tab goes out of sight and the user probably will never find it again.
How can I solve this problem?
Best,cew3
The positioning of the tab items is done by the ItemsPanel of the control. The default ItemsPanel for the xamTabControl is a TabItemPanel which doesn't have such functionality. You would need to create your own derived Panel that performs this functionality and use that as the ItemsPanel for the control. Also if you want to allow for scrolling of the tab items then you would need to implement IScrollInfo on that panel.
Hi Andrew,
wow, great solution!
But.... what do you mean with that???Do you have an example for your suggestion or would the example be the solution?
I'm sorry but there is no sample. As I mentioned this involves writing a custom Panel that does the layout logic you want including handling the scrolling implementation. This is not trivial and yes, the example would be the solution if there was an example. You may also want to submit a suggestion for adding this to the product.
what would it cost if you would implement that feature for us?
Bestcew3