RadTabItem Header w/ Line Break/Label/MouseOver

2 posts, 0 answers
  1. Alex Silva
    Alex Silva avatar
    2 posts
    Member since:
    May 2010

    Posted 06 May 2010 Link to this post

    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?
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 11 May 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top