In GridDataControl, you can enable or disable the Comments Tooltip by using GridCommentService.ShowComment attached property. You can define DataTemplate for comments Tooltip using CommentTemplatekey property in GridDataColumnStyle and the DataContext for DataTemplate is the GridStyleInfo of a particular cell.
In the following code example, CommentTemplatekey is defined inside the GridDataColumnStyle.
The following screenshot displays the cell value as comment tooltip when you hover the mouse on it.
Figure 1: Cell value displayed as comment tooltip
You can also set the Tooltip based on cell using GridDataControl.Mode.QueryCellInfo event.
You can refer to the following sample links to display the cellvalue of comments tooltip for WPF platforms.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.