---
title: "WPF dataGrid tool tip service"  
description: "WPF dataGrid tool tip service"  
author: "marcel ethan"  
published: 2013-09-03  
updated: 2013-09-03  
canonical: https://www.mindstick.com/forum/1430/wpf-datagrid-tool-tip-service  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# WPF dataGrid tool tip service

I have a DataGrid and I would like to be able to display [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) from what ever cell the [mouse](https://yourviews.mindstick.com/story/5122/the-story-behind-lord-ganesha-s-mouse-mushak) is over using the [ToolTip](https://www.mindstick.com/articles/1529/simple-tooltip-using-html-css) service. Can [someone tell me](https://www.mindstick.com/forum/34097/can-someone-tell-me-what-is-the-most-effective-optimization-on-page-optimization-or-off-page-optimization) what I am [doing wrong](https://answers.mindstick.com/qa/36736/what-are-indians-doing-wrong-on-whatsapp). Thanks a lot.

Here is my DataGrid:

<DataGrid Name="dgData" CanUserAddRows="False"

[Style](https://www.mindstick.com/articles/126300/apa-citation-style-get-to-know-about-it-for-your-next-assignment)="{DynamicResource DataGridRow}"

AutoGenerateColumns="False"

CanUserReorderColumns="False"

EnableColumnVirtualization="True" />

And here is what I have tried, but my app wont load the DataGrid when I add this.

<Style TargetType="{x:Type DataGrid}">

<Setter [Property](https://www.mindstick.com/blog/205/property-notification-in-c-sharp)="ToolTip" [Value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages)="{[Binding](https://www.mindstick.com/blog/146/dynamic-binding-in-c-sharp) RelativeSource={RelativeSource Mode=[Self](https://www.mindstick.com/articles/44535/smart-ways-to-secure-self-storage-facilities)}, Path=Value}" />

</Style>

## Replies

### Reply by Sumit Kesarwani

Hi Marcel,\

Please add this in your resources

```
<Style TargetType="{x:Type DataGridCell}">    <Setter
Property="ToolTip" Value="{Binding RelativeSource={RelativeSource
Mode=Self}, Path=Content.Text}" /></Style>
```


---

Original Source: https://www.mindstick.com/forum/1430/wpf-datagrid-tool-tip-service

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
