xmlns:igThemes="http://infragistics.com/Themes"
<Style x:Key="HeaderWithToolTipAnd TextTrimming"
TargetType="{x:Type igc:LabelPresenter}">
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content}"
ToolTip="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content}" />
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="HeaderWithToolTip" TargetType="{x:Type igDP:LabelPresenter}" BasedOn="{x:Static igThemes:DataPresenterOffice2k7Blue.LabelPresenter}" >
<Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content }"/>
hey can you let me know how you have implemented tooltip for the headers using converters.
Thanks
Prakash
Thanks that helped me.
Regards,
Vinod Sa.
Vinod,
Try this out.1) create multiple styles and just change the "DataPresenterOffice2k7Blue" theme on each style. You can use different themes on each style.
2) Apply the newly created style to LapelPresenterStyle of XAMGrid programaticaly or using a converter.
Kindly let me know if this works for you.
How to apply style using code. When I tried to apply different style for each field using code last applied style is getting applied to eery field.
Please let me know how to resolved this issue.
Thanks,