I have a XamTabControl used in my application. I just want that depending on some condition my TabItem should look disabled. I have set the IsEnabled property of that tabItem according to my condition but the styling in this is what I want. Please find code snippet below. Thanks in advance..
<igWindows:XamTabControl Name="MainTab" Grid.Row ="1"><TabItem Header="Version History" Margin="0" Style="{DynamicResource TabItemStyleTemp}"></TabItem><TabItem Header="Data View" Margin="0" Style="{DynamicResource TabItemStyleTemp}"></TabItem><TabItem Header="Chart View" Style="{DynamicResource TabItemStyleTemp}"></TabItem><TabItem Margin="0" Header="Confirmation Comparison" IsEnabled="{Binding flag, Mode=TwoWay}" Style="{DynamicResource TabItemStyleTemp}"></TabItem></igWindows:XamTabControl>
Hello, Rohit,
I have been looking into the code snippet that you have provided. I created sample application based on your scenario. Could you elaborate a little more the problem you are facing? If you are not able to reproduce the issue with the attached sample application, would you please modify it with the functionality, that you are using, so it reproduces the issue or send me an isolated sample application where I can reproduce it. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.
Looking forward to hearing from you
Sincerely,
Horen
Software Developer
Infragistics
Hello,
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask