Tooltip Style for RadTabcontrol

2 posts, 0 answers
  1. Anita
    Anita avatar
    15 posts
    Member since:
    Aug 2010

    Posted 05 Aug 2010 Link to this post



    As per my observations on RadTabcontrol, i found tooltip property is there.

    Is there any property which i set the style of the tooltip like Background and ForeGround?

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 05 Aug 2010 Link to this post

    Hello Anita,

    The Tooltip is a property of all visual elements. Setting it on the TabCotnrol may not produce the desired results, normally the TabItem's Header is where Tooltips are used. This of course depends on your scenario as well.

    Here is how you can define a custom Tooltip:

    <telerik:RadTabItem Header="ITem 1">
            <ToolTip Foreground="Red" 
                     Content="Some text" 
                     Background="LightBlue" />

    The tooltip control is a ContentControl and you can create a Style for it as well (to share the look between tooltips)

    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
Back to Top