Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
XamTabControl Styling
posted

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>

Parents
  • 1990
    posted

    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

    XamTabControlThemes.zip
Reply Children
No Data