This is a migrated thread and some comments may be shown as answers.

RadTabControl no longer respects BorderThickness

5 Answers 80 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 31 Jul 2012, 02:17 AM

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

Sort by
0
Petar Mladenov
Telerik team
answered on 02 Aug 2012, 11:13 AM
Hi Sam,

 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.

0
Accepted
Hristo
Telerik team
answered on 03 Aug 2012, 09:26 AM
Hi,

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.

Regards,
Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sam
Top achievements
Rank 1
answered on 05 Aug 2012, 11:08 PM
Thanks Hristo,

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
0
Anuja
Top achievements
Rank 1
answered on 06 May 2014, 06:04 AM
Hi,

 I want  tab strip exactly like attached file . I dint find any of the demos matches with it . 

Thanks and Regards,
Anuja.J
0
Evgenia
Telerik team
answered on 08 May 2014, 04:30 PM
Hello Anuja,

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
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
TabControl
Asked by
Sam
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Hristo
Telerik team
Sam
Top achievements
Rank 1
Anuja
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or