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

[Solved] tooltip and StyleManager clase

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
guy
Top achievements
Rank 1
guy asked on 22 Dec 2010, 03:01 PM
hi ,
i added tooltip to my xaml this way:
<UserControl.Resources>
        <Style x:Key="CustomerFullName" TargetType="telerik:GridViewHeaderCell">
            <Setter Property="ToolTipService.ToolTip" Value="I am a ToolTip"/>
        </Style>

and it's working fine after i added it to the colume but the backgroud color changed!
from code behinde i load this backgroud
this.Customers.SetValue(Telerik.Windows.Controls.StyleManager.ThemeProperty, new Telerik.Windows.Controls.Office_BlueTheme());

and after i have the tool tip the backgroud become black

how can i fix it?

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 22 Dec 2010, 04:56 PM
Hi Guy,

 
Actually this is normal behavior, because each custom style you created is applied relative to the default Office_Black theme, ignoring the fact that you applied any other theme. If you need to modify any other theme different from the default one, you may use the approach demonstrated in the following online article Modifying built in theme. If you do so make the desired changes and they will be applied against this theme. 

Best wishes,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
guy
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or