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

RadTabItem Header w/ Line Break/Label/MouseOver

1 Answer 59 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Alex Silva
Top achievements
Rank 1
Alex Silva asked on 06 May 2010, 07:54 PM
Hello,

I'm trying to set up a radtabitem header.  The desired layout and effects would be:

Two lines - centered horizontally
Change in foreground on MouseOver

I've tried a stack panel with two labels, but I think I've found that labels don't respond to mouseover.

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 11 May 2010, 03:17 PM
Hello Alex Silva,

As to first question - I don't understand where you want to display this two horizontal lines. Please send to us screen shot whit your design of RadTabcontol.

As to second question - In the new version (Q1) we use ContentPresenter. Unfortunately, it is not possible to change the foreground of the TabItem because of the ContentPresenter that the Tab uses internally. The ContentPresenter itself does not expose a Foreground property.

Please find attached a project with a workaround. In the project I made a custom theme of TabItem control and replaced the ContentPresenter with ContentControl.  Using this change means that you will not be able to change the theme at Runtime.



All the best,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TabControl
Asked by
Alex Silva
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or