Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
Tooltip
posted

I need to show the tooltip for the cells in xamgrid & written the Style as follows -

 

 

 

 

 

 

 

 

 

 

<Style TargetType="{x:Type igDP:CellValuePresenter}">

<Setter Property="ToolTip" >

 

 

 

 

<Setter.Value>

 

 

 

 

<TextBlock TextWrapping="WrapWithOverflow" FontSize="12" Text="{Binding Path=Value, RelativeSource={RelativeSource Self}}" />

 

 

 

 

</Setter.Value>

 

 

 

 

</Setter>

 

 

 

 

</Style>

I have defined the fields as follows -

 

 

 

<

 

 

igDP:FieldLayout.Fields>

 

 

 

 

<igDP:Field Name="oid" Label="Name" Width="250" />

 

 

 

 

<igDP:Field Name="oname" Label="Status" Width="60" />

 

 

 

 

 

<igDP:Field Name="odesc" Label="Error" Width="100" >

</

 

 

igDP:Field>

But Tooltip shows empty values instead of showing the actual value. Kindly suggest.