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

Tooltip Style for RadTabcontrol

1 Answer 115 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Anita
Top achievements
Rank 1
Anita asked on 05 Aug 2010, 07:19 AM

 

Hi,

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?

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 05 Aug 2010, 08:40 AM
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">
    <telerik:RadTabItem.ToolTip>
        <ToolTip Foreground="Red" 
                 Content="Some text" 
                 Background="LightBlue" />
    </telerik:RadTabItem.ToolTip>
</telerik:RadTabItem>

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

Regards,
Miroslav
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
Anita
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or