I'd like to add a tooltip for particular field I've defined in my XamDataGrid's FieldLayout.Fields collection. The tooltip should be different for each cell in that column ... depending on what the data is. Preferably I'd like to databind the tooltip value to a property in the underlying data object, but it could be done in code as well.
This is what I currently tried:
<
igDP:Field Name="ActionCode" Label="Action Code" Width="150" ToolTip="{Binding Path=ActionCodeName}"/>
Of course, that just places a tooltip on the column header (and actually no text gets displayed, but that's probably a binding problem).
Hello,
I have created a sample application that demonstrates how you can set different tool tip for each cell in a given field. The sample application follows an approach in which a CellValuePresenter style is used and the ToolTip property of the CellValuePresenter is bound to the CellValuePresenter itself and by using a converter class, the tool tip is different for each field.
If you need any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support