how to freeze first tabitem , don't want scroll first item while click previous , next
Thank you for the screenshot you have provided.
The ability to pin/fix a tab item in the XamTabControl, so it does not get scrolled out of view has been determined to be a new product idea. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
If you have any questions, please let me know.
As of now can you suggest me any workaround in xamtabcontrol?
In order to keep a single TabItemEx fixed at the beginning of the XamTabControl's header area, I can suggest you set the PreTabItemContent property of the control to a TabItemEx instance, which will serve as a home tab item.
This way you can manually set the Content property of the ContentPresenter that is responsible for visualizing the current content of the XamTabControl beneath the header area. Since this is not the by-design functionality of the XamTabControl, we will have to manually set the current content, based on whether we have clicked the home tab or a tab from the Items collection. For this purpose we can use the PreviewKeyDown event of the home tab and the SelectionChanged event of the XamTabControl.
<igWindows:XamTabControl.PreTabItemContent> <igWindows:TabItemEx x:Name="homeTabItem" Header="HOME" PreviewMouseDown="homeTabItem_PreviewMouseDown"> <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Text="HOME content" /> </igWindows:TabItemEx></igWindows:XamTabControl.PreTabItemContent>
I have attached a sample application that demonstrates the approach from above.