Hi Guys,
I want to display custom tooltip when mouse over XamDataGrid according to current field. I can re-style the tooltip by using below code.
<Style TargetType="{x:Type igDP:LabelPresenter}">
<Setter Property="ToolTip" Value="{StaticResource headerToolTipControl}"/>
</Style>
headerToolTipControl looks like:
<StackPanel x:Key="headerToolTipControl">
<StackPanel.Resources>
<Style x:Key="PropertyToolTipPartsStyle" TargetType="StackPanel">
<Setter Property="Orientation" Value="Horizontal" />
</StackPanel.Resources>
<StackPanel Style="{StaticResource PropertyToolTipPartsStyle}">
<TextBlock Text="{Binding Converter={StaticResource headerToolTipConverter
}}"/>
</StackPanel>
Here comes my question. Since my tooltip is based on current mouse over field, how Can I get the current mouse over field in my headerToolTipConverter?
Thanks,
Xin
Hi vivekvijayarajan
I am facing same situation, I hope you would have resolved it. Can you please share the solution?
Hey Elena,
Sorry about the late reply. I tried from myside and it works fine. Thanks for the help.
My requirement is to get something like attached image on mouse over of a XamGrid in WPF
Could you please provide a sample?
Regards
Vivek
Hello Xin,
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.