I have tried everything. How can I stop a tab control from being unselected. I have a xamgrid that is in error and do not want to allow the user from clicking on a different tab.
Thank
Hugo
Hello Hugo,
Thank you for your post. I have been looking through it and I suggest you set the other Tabs’ IsEnabled property to False and this way you won't be enabled to select them. Please let me know if this is what you are trying to achieve or I have misunderstood you in some way.
Looking forward for your reply.
Hi... I am using xamtabcontrol and also i am setting theming for that control.If i select Igtheme, the header of tabitem foreground is set to white which is not able to visible.Plz suggest how can i do it.
I am sending a .png file.Plz verify that.
11.2.20112.1012
I cannot reproduce the behaviour which you describe. Can you please provide a project where I can reproduce this issue.
Thanks,
Anastas
Hi.. i am sending an example in which current theme is igtheme.Find the header of xamtabitem.user is disable for the first time and it will be enable if i click on other tabitem and come again.
There is something wrong happening with the textblock's foreground, which is placed inside header.
We will investigate this issue. And I can suggest you to workaround this, by adding one more tab which visibility will be set to collapsed. And on loaded event to set the tabControl's selectedIndex to 0.
Can we change the fontsize and fontweight of tabitem if i give header in this format.
<Controls:TabItemEx HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="MessageTabItem1" Width="130" Header="Message">
If i add a style how can i use basedon property for all themes.Plz suggest me an answer.