WPF Datagrid cell tooltip

I have a WPF 4.0 DataGrid displaying data from a LINQ to Entities query. The query returns an anonymous list so the DataGrid has its AutoGenerateColumns property set to true. How can I display ToolTips for the column cells?

Answers


You should probably do this in the column's style. If you want to choose the style at runtime, you can subscribe to the AutoGeneratingColumn event, and customize the column as you like...

Here is a link from on MSDN with a very good tutorial on Customizing AutoGenerated Columns


Need Your Help

Android PayPal integration without card.io?

android paypal card.io

I use PayPal Android SDK to integrate PayPal payments in my app and it works fine. I am wondering, can I disable "card.io" support (where a user scan the credit card)? And as a result remove 4MB of...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.