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>
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi Krasimir,
I have been trying to solve something very similar, I have a default tooltip similar to the one in the sample but for one column i want to specify a different stryle, for example ( MaxWidth of 50 and blue background) that displays the current cell's value. How could I set the tooltip for my field?
so instead of having <Style TargetType ="ToolTip">
I would Prefer <Style x:Key="myTooltipStyle" TargetType="ToolTip">
Thanks,Dan
I have been trying to solve something very similar, I have a default tooltip similar to the one in the sample but for a column i want to specify a different stryle,for example ( MaxWidth of 50 and blue background) that displays the current cell value. How could I set the tooltip for my field?
I have been trying to solve something very similar, I already have a default tooltip similar to the one in the sample but for one column i want to specify a differnt stryle,for example ( MaxWidth of 50 and blue background) that displays the current cell value. How could I set the tooltip for my field?