Hi, we've found an issue with the RadTabControl in Q2 2012 SP1 (Metro theme).
The BorderThickness setting on RadTabControl is no longer respected, ie, if I set it to 0, I still see borders on the content area.
I looked at the Metro XAML for this control, and it looks like the visual states are setting the content border thickness manually based on the docking placement, eg, Bottom placement state sets ContentBorder's BorderThickness manually to 1 0 1 1, which of course wipes out any existing style setting. This is the same issue for all placement states.
We need to be able to have a borderless style. For now, we are working around the issue by making the BorderBrush Transparent on our style, so we just don't see the border, as we don't want to have to re-template just to fix this.
Can you resolve this in your next release please?
Thanks!
Sam
5 Answers, 1 is accepted
We introduced some changes in the default Style/Template of the RadTabControl in Q2 2012 SP. We need some time in order to investigate this better and let you know when this will be fixed or is there a suitable workaround. We will contact you tomorrow the latest. Thank you in advance for your patience.
Greetings,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
We shall provide a fix to the issue when TabStripPlacement is set to Top (the default value).
However, if you change the TabStripPlacement to another value the visual state for that placement will override the BorderThickness property, setting the respective thickness. In those cases you could use the BorderBrush to change the color to transparent or you could edit the control template and change the visual states to fit your case.
The fix should be available in our next internal build (next week). If you would like to use an official one then you should wait the Q3 2012 release.
Hope this helps. Please let us know if you need more info or the plan does not suffice your needs.
Hristo
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
We only use the default placement (Top) for our borderless tab control style, so your proposed solution is fine - we'll wait until Q3 2012 comes out.
Thanks,
Sam
I want tab strip exactly like attached file . I dint find any of the demos matches with it .
Thanks and Regards,
Anuja.J
Such requirement can be achieved with modifying the default Tab control templates and styles. Since you are new to the control itself and its visual structure I suggest that you get to know it from our documentation. Also I believe that you will find our Styling and Appearance section helpful as a guiding point from which you can start your customization.
We can guide you through the process wherever you hit something concrete that you struggle with but the whole customization should be done by yourself.
Regards,
Evgenia
Telerik