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?
I have a WPF 4.0 DataGrid displaying data from a LINQ to Entities query.
Share
You should probably do this in the column’s style. If you want to choose the style at runtime, you can subscribe to the
AutoGeneratingColumnevent, and customize the column as you like…Here is a link from on MSDN with a very good tutorial on Customizing AutoGenerated Columns