Hi all
How can I prevent, that tab is going to change, when I click an other tab, until data on the current tab is valid.
Thanks
Hello Jean-Pascal,
Here is a link to another Infragistics forum post that may be of some use to you for solving this issue: http://ko.infragistics.com/community/forums/t/62347.aspx.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support
I define my xaml like this
ItemsSource="{Binding AutoLogins}" Theme="Metro" AllowTabClosing="False" TabItemCloseButtonVisibility="WhenSelectedOrHotTracked">
In this situation, how can I access TabItemEx control? The reason is, I want to disable all other tabitemex but can't access the tabitemex object, only autologins object.
TabItemEx provide a property IsEnabled, but the question is, how can I access here TabItemEx object.
Thanks so much.
When binding a XamTabControl to an ItemsSource, each item in that ItemsSource still gets a tab control, it just isn't in the XamTabControl's Items collection. The tab controls are held in a TabItemPanel. If you use the Utilities class with the GetDescendantFromType method, you can obtain this TabItemPanel from the XamTabControl. The code for that is below.
TabItemPanel tip = Utilities.GetDescendantFromType((DependencyObject)XamTabControl1, typeof(TabItemPanel), false) as TabItemPanel;
The TabItemPanel has a Children collection that holds your TabItemEx objects.